

Go to the source code of this file.
Macros | |
| #define | XCOMBOBOX_H_ |
Functions | |
| Widget_t * | add_combobox (Widget_t *parent, const char *label, int x, int y, int width, int height) |
| add_combobox - add a combobox More... | |
| Widget_t * | combobox_add_entry (Widget_t *wid, const char *label) |
| combobox_add_entry - add a entry to the combobox More... | |
| void | combobox_add_numeric_entrys (Widget_t *wid, int imin, int imax) |
| combobox_add_numeric_items - add numeric items from imin to imax to wid More... | |
| void | combobox_set_active_entry (Widget_t *w, int active) |
| combobox_set_active_entry - set the active combobox entry More... | |
| #define XCOMBOBOX_H_ |
Definition at line 24 of file xcombobox.h.
| Widget_t* add_combobox | ( | Widget_t * | parent, |
| const char * | label, | ||
| int | x, | ||
| int | y, | ||
| int | width, | ||
| int | height | ||
| ) |
add_combobox - add a combobox
| *parent | - pointer to the Widget_t request the button |
| x,y,width,height | - the position/geometry to create the button |
Definition at line 32 of file xcombobox.c.
References _button_combobox_released(), _combobox_button_released(), _draw_combobox(), _draw_combobox_button(), _entry_released(), _set_entry(), add_adjustment(), add_button(), Widget_t::adj, Func_t::adj_callback, Widget_t::adj_y, Widget_t::app, Func_t::button_release_callback, CENTER, CL_ENUM, create_menu(), create_widget(), Func_t::enter_callback, Func_t::expose_callback, Widget_t::func, Resize_t::gravity, Widget_t::label, Func_t::leave_callback, Widget_t::scale, and transparent_draw().
combobox_add_entry - add a entry to the combobox
| *wid | - pointer to the Widget_t combobox |
| *label | - Label to show on the menu |
Definition at line 56 of file xcombobox.c.
References Widget_t::adj, Widget_t::childlist, Childlist_t::childs, CL_ENUM, Widget_t::label, Adjustment_t::max_value, menu_add_item(), and set_adjustment().
| void combobox_add_numeric_entrys | ( | Widget_t * | wid, |
| int | imin, | ||
| int | imax | ||
| ) |
combobox_add_numeric_items - add numeric items from imin to imax to wid
| *wid | - pointer to the Widget_t combobox |
| *imin | - the low number of the numeric items |
| *imax | - the high number of the numeric items |
Definition at line 66 of file xcombobox.c.
References Widget_t::adj, Widget_t::childlist, Childlist_t::childs, CL_ENUM, Adjustment_t::max_value, menu_add_numeric_items(), and set_adjustment().
| void combobox_set_active_entry | ( | Widget_t * | w, |
| int | active | ||
| ) |
combobox_set_active_entry - set the active combobox entry
| *w_ | - void pointer to the Widget_t combobox |
| active | - the active entry (int) |
Definition at line 25 of file xcombobox.c.
References Widget_t::adj, adj_set_value(), Adjustment_t::max_value, and Adjustment_t::min_value.