## EvWindow EvWindow |

## Synopsis

    enum                EvWindowRunMode;
                        EvPrintRange;
    enum                EvPrintPageSet;
                        EvWindowPrivate;
                        EvWindow;
    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,
                                                             gboolean unlink_temp_file,
                                                             const gchar *print_settings);
    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 GtkBuildable and AtkImplementorIface.

## Description

## Details

### enum EvWindowRunMode

    typedef enum {
    	EV_WINDOW_MODE_NORMAL,
    	EV_WINDOW_MODE_FULLSCREEN,
    	EV_WINDOW_MODE_PRESENTATION,
    	EV_WINDOW_MODE_PREVIEW
    } 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;

### EvWindowPrivate

    typedef struct _EvWindowPrivate EvWindowPrivate;

### EvWindow

    typedef struct _EvWindow EvWindow;

### 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,
                                                             gboolean unlink_temp_file,
                                                             const gchar *print_settings);

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

### 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` : |