EvWindow

## EvWindow EvWindow |

## Synopsis

    enum                EvWindowRunMode;
                        EvPrintRange;
    enum                EvPrintPageSet;
                        EvWindow;
                        EvWindowClass;
                        EvWindowPrivate;
    GtkWidget *         ev_window_new                       (void);
    const char *        ev_window_get_uri                   (EvWindow *ev_window);
    void                ev_window_open_uri                  (EvWindow *ev_window,
                                                             const char *uri,
                                                             EvLinkDest *dest,
                                                             EvWindowRunMode mode,
                                                             const gchar *search_string);
    void                ev_window_open_document             (EvWindow *ev_window,
                                                             EvDocument *document,
                                                             EvLinkDest *dest,
                                                             EvWindowRunMode mode,
                                                             const gchar *search_string);
    gboolean            ev_window_is_empty                  (const EvWindow *ev_window);
    void                ev_window_print_range               (EvWindow *ev_window,
                                                             int first_page,
                                                             int last_page);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GtkObject
                   +----GtkWidget
                         +----GtkContainer
                               +----GtkBin
                                     +----GtkWindow
                                           +----EvWindow

## Implemented Interfaces

EvWindow implements AtkImplementorIface and GtkBuildable.

## Description

## Details

### enum EvWindowRunMode

    typedef enum {
    	EV_WINDOW_MODE_NORMAL,
    	EV_WINDOW_MODE_FULLSCREEN,
    	EV_WINDOW_MODE_PRESENTATION
    } EvWindowRunMode;

### EvPrintRange

    typedef struct {
    	gint start;
    	gint end;
    } EvPrintRange;

### enum EvPrintPageSet

    typedef enum {
    	EV_PRINT_PAGE_SET_ALL,
    	EV_PRINT_PAGE_SET_EVEN,
    	EV_PRINT_PAGE_SET_ODD
    } EvPrintPageSet;

### EvWindow

    typedef struct _EvWindow EvWindow;

### EvWindowClass

    typedef struct {
    	GtkWindowClass		base_class;
    } EvWindowClass;

### EvWindowPrivate

    typedef struct _EvWindowPrivate EvWindowPrivate;

### ev_window_new ()

    GtkWidget *         ev_window_new                       (void);

Creates a GtkWidget that represents the window.

Returns : | the GtkWidget that represents the window.

### ev_window_get_uri ()

    const char *        ev_window_get_uri                   (EvWindow *ev_window);

It returns the uri of the document showed in the EvWindow.

`ev_window` : | The instance of the EvWindow.
Returns : | the uri of the document showed in the EvWindow.

### ev_window_open_uri ()

    void                ev_window_open_uri                  (EvWindow *ev_window,
                                                             const char *uri,
                                                             EvLinkDest *dest,
                                                             EvWindowRunMode mode,
                                                             const gchar *search_string);

`ev_window` : |
`uri` : |
`dest` : |
`mode` : |
`search_string` : |

### ev_window_open_document ()

    void                ev_window_open_document             (EvWindow *ev_window,
                                                             EvDocument *document,
                                                             EvLinkDest *dest,
                                                             EvWindowRunMode mode,
                                                             const gchar *search_string);

### ev_window_is_empty ()

    gboolean            ev_window_is_empty                  (const EvWindow *ev_window);

It does look if there is any document loaded or if there is any job to load a document.

`ev_window` : | The instance of the EvWindow.
Returns : | `TRUE` if there isn't any document loaded or any any documente to be loaded, `FALSE` in other case.

### ev_window_print_range ()

    void                ev_window_print_range               (EvWindow *ev_window,
                                                             int first_page,
                                                             int last_page);

`ev_window` : |
`first_page` : |
`last_page` : |