zathura
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
callbacks.h
Go to the documentation of this file.
1 /* See LICENSE file for license and copyright information */
2 
3 #ifndef CALLBACKS_H
4 #define CALLBACKS_H
5 
6 #include <gtk/gtk.h>
7 #include <girara/types.h>
8 #include <girara/macros.h>
9 
10 #include "internal.h"
11 #include "document.h"
12 #include "zathura.h"
13 
21 gboolean cb_destroy(GtkWidget* widget, zathura_t* zathura);
22 
28 void cb_buffer_changed(girara_session_t* session);
29 
37 void cb_view_hadjustment_value_changed(GtkAdjustment *adjustment, gpointer data);
38 
46 void cb_view_vadjustment_value_changed(GtkAdjustment *adjustment, gpointer data);
47 
57 void cb_view_hadjustment_changed(GtkAdjustment *adjustment, gpointer data);
58 
69 void cb_view_vadjustment_changed(GtkAdjustment *adjustment, gpointer data);
70 
80 void cb_refresh_view(GtkWidget* view, gpointer data);
81 
92 void cb_page_layout_value_changed(girara_session_t* session, const char* name,
93  girara_setting_type_t type, void* value, void* data);
94 
103 void cb_index_row_activated(GtkTreeView* tree_view, GtkTreePath* path,
104  GtkTreeViewColumn* column, void* zathura);
105 
113 bool cb_sc_follow(GtkEntry* entry, girara_session_t* session);
114 
122 bool cb_sc_display_link(GtkEntry* entry, girara_session_t* session);
123 
133 void cb_file_monitor(GFileMonitor* monitor, GFile* file, GFile* other_file,
134  GFileMonitorEvent event, girara_session_t* session);
135 
143 bool cb_password_dialog(GtkEntry* entry, zathura_password_dialog_info_t* dialog);
144 
153 bool cb_view_resized(GtkWidget* widget, GtkAllocation* allocation, zathura_t* zathura);
154 
164 void cb_setting_recolor_change(girara_session_t* session, const char* name,
165  girara_setting_type_t type, void* value, void* data);
166 
176 void cb_setting_recolor_keep_hue_change(girara_session_t* session, const char* name,
177  girara_setting_type_t type, void* value, void* data);
178 
179 
188 bool cb_unknown_command(girara_session_t* session, const char* input);
189 
197 void cb_page_widget_text_selected(ZathuraPage* page, const char* text,
198  void* data);
199 
200 void cb_page_widget_image_selected(ZathuraPage* page, GdkPixbuf* pixbuf,
201  void* data);
202 
203 #endif // CALLBACKS_H