![]() |
![]() |
![]() |
Evince View Library Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties | Signals |
EvView; EvViewClass; GtkWidget * ev_view_new (void
); void ev_view_set_model (EvView *view
,EvDocumentModel *model
); gboolean ev_view_is_loading (EvView *view
); 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_started (EvView *view
,EvJobFind *job
); void ev_view_find_cancel (EvView *view
); void ev_view_find_set_result (EvView *view
,gint page
,gint result
); void ev_view_highlight_forward_search (EvView *view
,EvSourceLink *link
); void ev_view_hide_cursor (EvView *view
); void ev_view_show_cursor (EvView *view
); 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
); void ev_view_begin_add_annotation (EvView *view
,EvAnnotationType annot_type
); void ev_view_cancel_add_annotation (EvView *view
); void ev_view_focus_annotation (EvView *view
,EvMapping *annot_mapping
); gboolean ev_view_get_page_extents (EvView *view
,gint page
,GdkRectangle *page_area
,GtkBorder *border
); void ev_view_set_page_cache_size (EvView *view
,gsize cache_size
); gboolean ev_view_is_caret_navigation_enabled (EvView *view
); void ev_view_set_caret_cursor_position (EvView *view
,guint page
,guint offset
); void ev_view_set_caret_navigation_enabled (EvView *view
,gboolean enabled
); gboolean ev_view_supports_caret_navigation (EvView *view
); void ev_view_set_loading (EvView *view
,gboolean loading
); void ev_view_find_changed (EvView *view
,GList **results
,gint page
); void ev_view_scroll (EvView *view
,GtkScrollType scroll
,gboolean horizontal
);
"can-zoom-in" gboolean : Read "can-zoom-out" gboolean : Read "is-loading" gboolean : Read
"annot-added" :Action
"cursor-moved" :Run Last
"external-link" :Action
"handle-link" :Action
"layers-changed" :Action
"move-cursor" :Action
"popup" :Action
"scroll" :Action
"selection-changed" :Action
"sync-source" :Action
gboolean ev_view_is_loading (EvView *view
);
Returns : |
TRUE iff the view is currently loading a document |
Since 3.8
void ev_view_find_set_highlight_search (EvView *view
,gboolean value
);
void ev_view_find_set_result (EvView *view
,gint page
,gint result
);
FIXME
|
a EvView |
Since 3.10
void ev_view_highlight_forward_search (EvView *view
,EvSourceLink *link
);
void ev_view_begin_add_annotation (EvView *view
,EvAnnotationType annot_type
);
gboolean ev_view_get_page_extents (EvView *view
,gint page
,GdkRectangle *page_area
,GtkBorder *border
);
void ev_view_set_page_cache_size (EvView *view
,gsize cache_size
);
Sets the maximum size in bytes that will be used to cache rendered pages. Use 0 to disable caching rendered pages.
Note that this limit doesn't affect the current visible page range,
which will always be rendered. In order to limit the total memory used
you have to use ev_document_model_set_max_scale()
too.
|
EvView instance |
|
size in bytes |
void ev_view_set_caret_cursor_position (EvView *view
,guint page
,guint offset
);
|
a EvView |
Since 3.10
void ev_view_set_caret_navigation_enabled (EvView *view
,gboolean enabled
);
Enables or disables caret navigation mode for the document.
|
a EvView |
|
whether to enable caret navigation mode |
Since 3.10
gboolean ev_view_supports_caret_navigation (EvView *view
);
|
a EvView |
Returns : |
whether the document supports caret navigation |
Since 3.10
void ev_view_set_loading (EvView *view
,gboolean loading
);
ev_view_set_loading
is deprecated and should not be used in newly-written code. 3.8
void ev_view_find_changed (EvView *view
,GList **results
,gint page
);
ev_view_find_changed
has been deprecated since version 3.6 and should not be used in newly-written code. Use ev_view_find_started()
instead
|
an EvView |
|
the results as returned by ev_job_find_get_results()
|
|
page index |
"can-zoom-in"
property "can-zoom-in" gboolean : Read
Whether the view can be zoomed in further.
Default value: TRUE
Since 3.8
"can-zoom-out"
property "can-zoom-out" gboolean : Read
Whether the view can be zoomed out further.
Default value: TRUE
Since 3.8
"annot-added"
signalvoid user_function (EvView *evview,
EvAnnotation *arg1,
gpointer user_data) : Action
"cursor-moved"
signalvoid user_function (EvView *evview,
gint arg1,
gint arg2,
gpointer user_data) : Run Last
"external-link"
signalvoid user_function (EvView *evview,
GObject *arg1,
gpointer user_data) : Action
"handle-link"
signalvoid user_function (EvView *evview,
GObject *arg1,
gpointer user_data) : Action
"move-cursor"
signalgboolean user_function (EvView *evview,
GtkMovementStep arg1,
gint arg2,
gboolean arg3,
gpointer user_data) : Action
"scroll"
signalvoid user_function (EvView *evview,
GtkScrollType arg1,
GtkOrientation arg2,
gpointer user_data) : Action
"sync-source"
signalvoid user_function (EvView *evview,
gpointer arg1,
gpointer user_data) : Action