## ev-view

ev-view

## Synopsis

                        EvView;
                        EvViewClass;
    enum                EvViewSelectionMode;
    GtkWidget*          ev_view_new                         (void);
    void                ev_view_set_model                   (EvView *view,
                                                             EvDocumentModel *model);
    void                ev_view_set_loading                 (EvView *view,
                                                             gboolean loading);
    void                ev_view_reload                      (EvView *view);
    void                ev_view_copy                        (EvView *view);
    void                ev_view_copy_link_address           (EvView *view,
                                                             EvLinkAction *action);
    void                ev_view_select_all                  (EvView *view);
    gboolean            ev_view_get_has_selection           (EvView *view);
    gboolean            ev_view_can_zoom_in                 (EvView *view);
    void                ev_view_zoom_in                     (EvView *view);
    gboolean            ev_view_can_zoom_out                (EvView *view);
    void                ev_view_zoom_out                    (EvView *view);
    void                ev_view_find_next                   (EvView *view);
    void                ev_view_find_previous               (EvView *view);
    void                ev_view_find_search_changed         (EvView *view);
    void                ev_view_find_set_highlight_search   (EvView *view,
                                                             gboolean value);
    void                ev_view_find_changed                (EvView *view,
                                                             GList **results,
                                                             gint page);
    void                ev_view_find_cancel                 (EvView *view);
    void                ev_view_hide_cursor                 (EvView *view);
    void                ev_view_show_cursor                 (EvView *view);
    void                ev_view_scroll                      (EvView *view,
                                                             GtkScrollType scroll,
                                                             gboolean horizontal);
    void                ev_view_handle_link                 (EvView *view,
                                                             EvLink *link);
    gboolean            ev_view_next_page                   (EvView *view);
    gboolean            ev_view_previous_page               (EvView *view);
    void                ev_view_autoscroll_start            (EvView *view);
    void                ev_view_autoscroll_stop             (EvView *view);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GtkObject
                   +----GtkWidget
                         +----GtkContainer
                               +----GtkLayout
                                     +----EvView

## Implemented Interfaces

EvView implements AtkImplementorIface and GtkBuildable.

## Signals

      "annot-added"                                    : Run Last / Action
      "binding-activated"                              : Run Last / Action
      "external-link"                                  : Run Last / Action
      "handle-link"                                    : Run Last / Action
      "popup"                                          : Run Last / Action
      "selection-changed"                              : Run Last / Action
      "sync-source"                                    : Run Last / Action

## Description

## Details

### EvView

    typedef struct _EvView EvView;

### EvViewClass

    typedef struct _EvViewClass EvViewClass;

### enum EvViewSelectionMode

    typedef enum {
    	EV_VIEW_SELECTION_TEXT,
    	EV_VIEW_SELECTION_RECTANGLE,
    } EvViewSelectionMode;

### ev_view_new ()

    GtkWidget*          ev_view_new                         (void);

Returns : |

### ev_view_set_model ()

    void                ev_view_set_model                   (EvView *view,
                                                             EvDocumentModel *model);

### ev_view_set_loading ()

    void                ev_view_set_loading                 (EvView *view,
                                                             gboolean loading);

`view` : |
`loading` : |

### ev_view_reload ()

    void                ev_view_reload                      (EvView *view);

`view` : |

### ev_view_copy ()

    void                ev_view_copy                        (EvView *view);

`view` : |

### ev_view_copy_link_address ()

    void                ev_view_copy_link_address           (EvView *view,
                                                             EvLinkAction *action);

`view` : |
`action` : |

### ev_view_select_all ()

    void                ev_view_select_all                  (EvView *view);

`view` : |

### ev_view_get_has_selection ()

    gboolean            ev_view_get_has_selection           (EvView *view);

`view` : |
Returns : |

### ev_view_can_zoom_in ()

    gboolean            ev_view_can_zoom_in                 (EvView *view);

`view` : |
Returns : |

### ev_view_zoom_in ()

    void                ev_view_zoom_in                     (EvView *view);

`view` : |

### ev_view_can_zoom_out ()

    gboolean            ev_view_can_zoom_out                (EvView *view);

`view` : |
Returns : |

### ev_view_zoom_out ()

    void                ev_view_zoom_out                    (EvView *view);

`view` : |

### ev_view_find_next ()

    void                ev_view_find_next                   (EvView *view);

`view` : |

### ev_view_find_previous ()

    void                ev_view_find_previous               (EvView *view);

`view` : |

### ev_view_find_search_changed ()

    void                ev_view_find_search_changed         (EvView *view);

`view` : |

### ev_view_find_set_highlight_search ()

    void                ev_view_find_set_highlight_search   (EvView *view,
                                                             gboolean value);

`view` : |
`value` : |

### ev_view_find_changed ()

    void                ev_view_find_changed                (EvView *view,
                                                             GList **results,
                                                             gint page);

`view` : |
`results` : |
`page` : |

### ev_view_find_cancel ()

    void                ev_view_find_cancel                 (EvView *view);

`view` : |

### ev_view_hide_cursor ()

    void                ev_view_hide_cursor                 (EvView *view);

`view` : |

### ev_view_show_cursor ()

    void                ev_view_show_cursor                 (EvView *view);

`view` : |

### ev_view_scroll ()

    void                ev_view_scroll                      (EvView *view,
                                                             GtkScrollType scroll,
                                                             gboolean horizontal);

`view` : |
`scroll` : |
`horizontal` : |

### ev_view_handle_link ()

    void                ev_view_handle_link                 (EvView *view,
                                                             EvLink *link);

`view` : |
`link` : |

### ev_view_next_page ()

    gboolean            ev_view_next_page                   (EvView *view);

`view` : |
Returns : |

### ev_view_previous_page ()

    gboolean            ev_view_previous_page               (EvView *view);

`view` : |
Returns : |

### ev_view_autoscroll_start ()

    void                ev_view_autoscroll_start            (EvView *view);

`view` : |

### ev_view_autoscroll_stop ()

    void                ev_view_autoscroll_stop             (EvView *view);

`view` : |

## Signal Details

### The `"annot-added"` signal

    void                user_function                      (EvView       *evview,
                                                            EvAnnotation *arg1,
                                                            gpointer      user_data)      : Run Last / Action

### The `"binding-activated"` signal

    void                user_function                      (EvView       *evview,
                                                            GtkScrollType arg1,
                                                            gboolean      arg2,
                                                            gpointer      user_data)      : Run Last / Action

`evview` : | the object which received the signal.
`arg1` : |
`arg2` : |
`user_data` : | user data set when the signal handler was connected.

### The `"external-link"` signal

    void                user_function                      (EvView  *evview,
                                                            GObject *arg1,
                                                            gpointer user_data)      : Run Last / Action

`evview` : | the object which received the signal.
`arg1` : |
`user_data` : | user data set when the signal handler was connected.

### The `"handle-link"` signal

    void                user_function                      (EvView  *evview,
                                                            GObject *arg1,
                                                            gpointer user_data)      : Run Last / Action

`evview` : | the object which received the signal.
`arg1` : |
`user_data` : | user data set when the signal handler was connected.

### The `"popup"` signal

    void                user_function                      (EvView  *evview,
                                                            gpointer arg1,
                                                            gpointer user_data)      : Run Last / Action

`evview` : | the object which received the signal.
`arg1` : |
`user_data` : | user data set when the signal handler was connected.

### The `"selection-changed"` signal

    void                user_function                      (EvView  *evview,
                                                            gpointer user_data)      : Run Last / Action

`evview` : | the object which received the signal.
`user_data` : | user data set when the signal handler was connected.

### The `"sync-source"` signal

    void                user_function                      (EvView  *evview,
                                                            gpointer arg1,
                                                            gpointer user_data)      : Run Last / Action