69 debug_print(
"quit\n");
Childlist_t - struct to hold a Widget_t child list Xputty main holds a list of any Widget_t created...
SystrayColor - the Systray Color struct SystrayColor could be used for the backgroung color of the Sy...
XColor_t - the Widget_t Color struct XColor_t could be used for theming you Widget_t set.
Xputty - the main struct. It should be declared before any other call to a Xputty function....
SystrayColor_t * systray_color
void childlist_destroy(Childlist_t *childlist)
childlist_destroy - internal use to free the Childlist_t You usually didn't need to call this
void childlist_init(Childlist_t *childlist)
childlist_init - internal use to allocate the array to min size You usually didn't need to call thi...
void set_dark_theme(Xputty *main)
set_dark_theme - init the XColor_t struct to the default dark theme
void set_systray_color(Xputty *main, double r, double g, double b, double a)
set_systray_color - set the systray background color
void main_quit(Xputty *main)
main_quit - destroy all remaining Widget_t's from the main->childlist. Free all resources which may...
void main_init(Xputty *main)
main_init - open the Display and init the main->childlist. Set the bool run to true....
void main_run(Xputty *main)
main_run - start the main event loop. It should be start after your Widget_t's been created....
void run_embedded(Xputty *main)
run_embedded - the main event loop to run embedded UI's. It should be start after your Widget_t's b...
This file contains definitions and structs used on all platforms. Platform specific definitions are l...