|
girara
|
Go to the source code of this file.
Typedefs | |
| typedef bool(* | girara_statusbar_event_t )(GtkWidget *widget, GdkEvent *event, girara_session_t *session) |
Functions | |
| girara_statusbar_item_t * | girara_statusbar_item_add (girara_session_t *session, bool expand, bool fill, bool left, girara_statusbar_event_t callback) |
| bool | girara_statusbar_item_set_text (girara_session_t *session, girara_statusbar_item_t *item, const char *text) |
| bool | girara_statusbar_item_set_foreground (girara_session_t *session, girara_statusbar_item_t *item, const char *color) |
| bool | girara_statusbar_set_background (girara_session_t *session, const char *color) |
| typedef bool(* girara_statusbar_event_t)(GtkWidget *widget, GdkEvent *event, girara_session_t *session) |
Function declaration for a statusbar event callback
| widget | The statusbar item |
| event | The occured event |
| session | The current girara session |
Definition at line 18 of file statusbar.h.
| girara_statusbar_item_t* girara_statusbar_item_add | ( | girara_session_t * | session, |
| bool | expand, | ||
| bool | fill, | ||
| bool | left, | ||
| girara_statusbar_event_t | callback | ||
| ) |
Creates an statusbar item
| session | The used girara session |
| expand | Expand attribute |
| fill | Fill attribute |
| left | True if it should be aligned to the left |
| callback | Function that gets executed when an event occurs |
Definition at line 21 of file statusbar.c.
| bool girara_statusbar_item_set_foreground | ( | girara_session_t * | session, |
| girara_statusbar_item_t * | item, | ||
| const char * | color | ||
| ) |
Sets the foreground color of an statusbar item
| session | The used girara session |
| item | The statusbar item |
| color | The color code |
Definition at line 73 of file statusbar.c.
| bool girara_statusbar_item_set_text | ( | girara_session_t * | session, |
| girara_statusbar_item_t * | item, | ||
| const char * | text | ||
| ) |
Sets the shown text of an statusbar item
| session | The used girara session |
| item | The statusbar item |
| text | Text that should be displayed |
Definition at line 60 of file statusbar.c.
| bool girara_statusbar_set_background | ( | girara_session_t * | session, |
| const char * | color | ||
| ) |
Sets the background color of the statusbar
| session | The used girara session |
| color | The color code |
Definition at line 86 of file statusbar.c.
1.7.6.1