girara
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
callbacks.c File Reference
#include "callbacks.h"
#include "datastructures.h"
#include "session.h"
#include "shortcuts.h"
#include "input-history.h"
#include <string.h>
#include <glib/gi18n-lib.h>
#include "internal.h"

Go to the source code of this file.

Functions

bool girara_callback_view_key_press_event (GtkWidget *UNUSED(widget), GdkEventKey *event, girara_session_t *session)
bool girara_callback_view_button_press_event (GtkWidget *UNUSED(widget), GdkEventButton *button, girara_session_t *session)
bool girara_callback_view_button_release_event (GtkWidget *UNUSED(widget), GdkEventButton *button, girara_session_t *session)
bool girara_callback_view_button_motion_notify_event (GtkWidget *UNUSED(widget), GdkEventMotion *button, girara_session_t *session)
bool girara_callback_view_scroll_event (GtkWidget *UNUSED(widget), GdkEventScroll *scroll, girara_session_t *session)
bool girara_callback_inputbar_activate (GtkEntry *entry, girara_session_t *session)
bool girara_callback_inputbar_key_press_event (GtkWidget *entry, GdkEventKey *event, girara_session_t *session)
bool girara_callback_inputbar_changed_event (GtkEditable *entry, girara_session_t *session)

Function Documentation

bool girara_callback_inputbar_activate ( GtkEntry *  entry,
girara_session_t *  session 
)

Default callback if the inputbar gets activated

Parameters
entryThe inputbar entry
sessionThe used girara session
Returns
TRUE No error occured
FALSE An error occured

Definition at line 361 of file callbacks.c.

bool girara_callback_inputbar_changed_event ( GtkEditable *  widget,
girara_session_t *  session 
)

Default callback if the text of the input bar has changed

Parameters
widgetThe used widget
sessionThe used girara session
Returns
TRUE No error occured
FALSE An error occured

Definition at line 555 of file callbacks.c.

bool girara_callback_inputbar_key_press_event ( GtkWidget *  widget,
GdkEventKey *  event,
girara_session_t *  session 
)

Default callback if an key in the input bar gets pressed

Parameters
widgetThe used widget
eventThe occured event
sessionThe used girara session
Returns
TRUE No error occured
FALSE An error occured

Definition at line 504 of file callbacks.c.

bool girara_callback_view_button_motion_notify_event ( GtkWidget *  UNUSEDwidget,
GdkEventMotion *  button,
girara_session_t *  session 
)

Definition at line 283 of file callbacks.c.

bool girara_callback_view_button_press_event ( GtkWidget *  UNUSEDwidget,
GdkEventButton *  button,
girara_session_t *  session 
)

Definition at line 205 of file callbacks.c.

bool girara_callback_view_button_release_event ( GtkWidget *  UNUSEDwidget,
GdkEventButton *  button,
girara_session_t *  session 
)

Definition at line 252 of file callbacks.c.

bool girara_callback_view_key_press_event ( GtkWidget *  UNUSEDwidget,
GdkEventKey *  event,
girara_session_t *  session 
)

Definition at line 76 of file callbacks.c.

bool girara_callback_view_scroll_event ( GtkWidget *  UNUSEDwidget,
GdkEventScroll *  scroll,
girara_session_t *  session 
)

Definition at line 314 of file callbacks.c.