Go to the source code of this file.
Function Documentation
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
- Parameters:
-
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 |
- Returns:
- The created statusbar item
-
NULL An error occured
Definition at line 21 of file statusbar.c.
void girara_statusbar_item_free |
( |
girara_statusbar_item_t * |
item | ) |
|
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
- Parameters:
-
session | The used girara session |
item | The statusbar item |
color | The color code |
- Returns:
- TRUE No error occured
-
FALSE An error occured
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
- Parameters:
-
session | The used girara session |
item | The statusbar item |
text | Text that should be displayed |
- Returns:
- TRUE No error occured
-
FALSE An error occured
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
- Parameters:
-
session | The used girara session |
color | The color code |
- Returns:
- TRUE No error occured
-
FALSE An error occured
Definition at line 86 of file statusbar.c.