Go to the source code of this file.
Macros | |
#define | XCOMBOBOX_PRIVATE_H_ |
Functions | |
void | _draw_combobox_button (void *w_, void *user_data) |
_draw_combobox_button - internal draw the combobox button to the buffer More... | |
void | _draw_combobox (void *w_, void *user_data) |
_draw_combobox - internal draw the combobox to the buffer More... | |
void | _combobox_button_released (void *w_, void *button_, void *user_data) |
_combobox_button_released - popup menu on right click More... | |
void | _button_combobox_released (void *w_, void *button_, void *user_data) |
_button_combobox_released - popup the combobox menu More... | |
void | _entry_released (void *w_, void *item_, void *user_data) |
_entry_released - the combobox menu release func More... | |
void | _set_entry (void *w_, void *user_data) |
_set_entry - set the active combobox entry on adjustment change More... | |
#define XCOMBOBOX_PRIVATE_H_ |
Definition at line 24 of file xcombobox_private.h.
void _button_combobox_released | ( | void * | w_, |
void * | button_, | ||
void * | user_data | ||
) |
_button_combobox_released - popup the combobox menu
*w_ | - void pointer to the Widget_t button |
*button | - void pointer to XEvent.xbutton struct |
*user_data | - void pointer to attached user_data |
Definition at line 173 of file xcombobox_private.c.
References Widget_t::adj, adj_set_value(), Widget_t::childlist, Childlist_t::childs, Widget_t::flags, HAS_POINTER, Widget_t::parent, pop_menu_show(), and Widget_t::state.
void _combobox_button_released | ( | void * | w_, |
void * | button_, | ||
void * | user_data | ||
) |
_combobox_button_released - popup menu on right click
*w_ | - void pointer to the Widget_t button |
*button | - void pointer to XEvent.xbutton struct |
*user_data | - void pointer to attached user_data |
Definition at line 162 of file xcombobox_private.c.
References Widget_t::childlist, Childlist_t::childs, Widget_t::flags, HAS_POINTER, pop_menu_show(), and Widget_t::state.
void _draw_combobox | ( | void * | w_, |
void * | user_data | ||
) |
_draw_combobox - internal draw the combobox to the buffer
*w_ | - void pointer to the Widget_t combobox |
*user_data | - void pointer to attached user_data |
Definition at line 100 of file xcombobox_private.c.
References ACTIVE_, Widget_t::app, Resize_t::ascale, Widget_t::crb, Xputty::dpy, Widget_t::flags, get_color_state(), HAS_TOOLTIP, INSENSITIVE_, Widget_t::label, NORMAL_, Xputty::normal_font, PRELIGHT_, Widget_t::scale, SELECTED_, Widget_t::state, tooltip_set_text(), use_frame_color_scheme(), use_shadow_color_scheme(), use_text_color_scheme(), and Widget_t::widget.
void _draw_combobox_button | ( | void * | w_, |
void * | user_data | ||
) |
_draw_combobox_button - internal draw the combobox button to the buffer
*w_ | - void pointer to the Widget_t combobox button |
*user_data | - void pointer to attached user_data |
Definition at line 26 of file xcombobox_private.c.
References _pattern_in(), _pattern_out(), ACTIVE_, Widget_t::adj_y, Widget_t::app, Widget_t::crb, Xputty::dpy, get_color_state(), NORMAL_, PRELIGHT_, SELECTED_, Widget_t::state, use_fg_color_scheme(), use_frame_color_scheme(), use_text_color_scheme(), Adjustment_t::value, and Widget_t::widget.
void _entry_released | ( | void * | w_, |
void * | item_, | ||
void * | user_data | ||
) |
_entry_released - the combobox menu release func
*w_ | - void pointer to the Widget_t menu |
<em>item | - void pointer to the selected item *(int) |
*user_data | - void pointer to the item label *(const char**) |
Definition at line 184 of file xcombobox_private.c.
References Widget_t::adj, adj_set_value(), Widget_t::app, Xputty::childlist, Childlist_t::childs, and Childlist_t::elem.
void _set_entry | ( | void * | w_, |
void * | user_data | ||
) |
_set_entry - set the active combobox entry on adjustment change
*w_ | - void pointer to the Widget_t combobox |
*user_data | - void pointer to the item label *(const char**) |
Definition at line 198 of file xcombobox_private.c.
References Widget_t::adj, adj_get_value(), Widget_t::childlist, childlist_has_child(), Childlist_t::childs, Widget_t::label, and transparent_draw().