![]() |
libxputty 0.1
|
Go to the source code of this file.
Functions | |
Widget_t * | tabbox_add_tab (Widget_t *tabbox, const char *label) |
tabbox_add_tab - add a tab to a tabbox Widget_t | |
Widget_t * | add_tabbox (Widget_t *parent, const char *label, int x, int y, int width, int height) |
add_tabbox - add a tabbox to a Widget_t | |
void | tabbox_remove_tab (Widget_t *tabbox, int tab) |
tabbox_remove_tab - remove a tab from a tabbox Widget_t | |
Widget_t * add_tabbox | ( | Widget_t * | parent, |
const char * | label, | ||
int | x, | ||
int | y, | ||
int | width, | ||
int | height | ||
) |
add_tabbox - add a tabbox to a Widget_t
*parent | - pointer to the Widget_t request the tabbox |
*label | - the label of the tabbox |
x,y,width,height | - the position/geometry to create the tabbox |
Definition at line 42 of file xtabbox.c.
References _draw_tabbox(), _tab_button_released(), add_adjustment(), Widget_t::adj, Widget_t::adj_y, Widget_t::app, Func_t::button_release_callback, CENTER, CL_NONE, create_widget(), Func_t::expose_callback, Widget_t::func, Resize_t::gravity, Widget_t::label, and Widget_t::scale.
tabbox_add_tab - add a tab to a tabbox Widget_t
*tabbox | - pointer to the tabbox Widget_t the tab should added to |
*label | - the label of the tab |
Definition at line 26 of file xtabbox.c.
References _draw_tab(), Widget_t::adj, adj_set_value(), Widget_t::app, CL_NONE, create_widget(), Func_t::expose_callback, Widget_t::func, Resize_t::gravity, Metrics_t::height, Widget_t::label, Adjustment_t::max_value, NORTHWEST, os_get_window_metrics(), Widget_t::scale, set_adjustment(), and Metrics_t::width.
void tabbox_remove_tab | ( | Widget_t * | tabbox, |
int | tab | ||
) |
tabbox_remove_tab - remove a tab from a tabbox Widget_t
*tabbox | - pointer to the tabbox Widget_t the tab should removed from |
tab | - the number of the tab |
Definition at line 57 of file xtabbox.c.
References Widget_t::adj, Widget_t::app, Widget_t::childlist, Childlist_t::childs, CL_NONE, destroy_widget(), Childlist_t::elem, Adjustment_t::max_value, and set_adjustment().