diff options
Diffstat (limited to 'libview/ev-view-private.h')
-rw-r--r-- | libview/ev-view-private.h | 40 |
1 files changed, 23 insertions, 17 deletions
diff --git a/libview/ev-view-private.h b/libview/ev-view-private.h index 14221175..696a043f 100644 --- a/libview/ev-view-private.h +++ b/libview/ev-view-private.h @@ -178,6 +178,9 @@ struct _EvView { /* Common for button press handling */ int pressed_button; + /* Key bindings propagation */ + gboolean key_binding_handled; + /* Information for middle clicking and dragging around. */ DragInfo drag_info; @@ -236,23 +239,26 @@ struct _EvView { struct _EvViewClass { GtkContainerClass parent_class; - void (*scroll) (EvView *view, - GtkScrollType scroll, - GtkOrientation orientation); - void (*handle_link) (EvView *view, - EvLink *link); - void (*external_link) (EvView *view, - EvLinkAction *action); - void (*popup_menu) (EvView *view, - GList *items); - void (*selection_changed) (EvView *view); - void (*sync_source) (EvView *view, - EvSourceLink *link); - void (*annot_added) (EvView *view, - EvAnnotation *annot); - void (*annot_removed) (EvView *view, - EvAnnotation *annot); - void (*layers_changed) (EvView *view); + void (*scroll) (EvView *view, + GtkScrollType scroll, + GtkOrientation orientation); + void (*handle_link) (EvView *view, + EvLink *link); + void (*external_link) (EvView *view, + EvLinkAction *action); + void (*popup_menu) (EvView *view, + GList *items); + void (*selection_changed) (EvView *view); + void (*sync_source) (EvView *view, + EvSourceLink *link); + void (*annot_added) (EvView *view, + EvAnnotation *annot); + void (*annot_removed) (EvView *view, + EvAnnotation *annot); + void (*layers_changed) (EvView *view); + gboolean (*move_cursor) (EvView *view, + GtkMovementStep step, + gint count); }; void _get_page_size_for_scale_and_rotation (EvDocument *document, |