mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-10 17:53:45 +01:00
35 lines
809 B
C
35 lines
809 B
C
/* See LICENSE file for license and copyright information */
|
|
|
|
#ifndef CALLBACKS_H
|
|
#define CALLBACKS_H
|
|
|
|
#include <gtk/gtk.h>
|
|
#include <girara.h>
|
|
|
|
/**
|
|
* Quits the current zathura session
|
|
*
|
|
* @param widget The gtk window of zathura
|
|
* @param data NULL
|
|
* @return TRUE
|
|
*/
|
|
gboolean cb_destroy(GtkWidget* widget, gpointer data);
|
|
|
|
/**
|
|
* This function gets called when the buffer of girara changes
|
|
*
|
|
* @param session The girara session
|
|
*/
|
|
void buffer_changed(girara_session_t* session);
|
|
|
|
/**
|
|
* This function gets called when the the value of the vertical scrollbars
|
|
* changes (e.g.: by scrolling, moving to another page)
|
|
*
|
|
* @param adjustment The vadjustment of the page view
|
|
* @param data NULL
|
|
*/
|
|
void cb_view_vadjustment_value_changed(GtkAdjustment *adjustment, gpointer data);
|
|
|
|
#endif // CALLBACKS_H
|