#include "xlistbox.h"
Go to the source code of this file.
Macros | |
#define | XLISTBOX_PRIVATE_H_ |
Functions | |
void | _draw_listbox (void *w_, void *user_data) |
_draw_listbox - draw listbox on expose call More... | |
void | _draw_listbox_item (void *w_, void *user_data) |
_draw_listbox_item - draw item on expose call More... | |
void | _draw_listbox_viewslider (void *w_, void *user_data) |
_draw_listbox_viewslider - draw a slider on the viewport to indicate the view point More... | |
void | _reconfigure_listbox_viewport (void *w_, void *user_data) |
_reconfigure_listbox_viewport - reconfigure the viewport adjustment on size changes More... | |
void | _configure_listbox (void *w_, void *user_data) |
_configure_listbox - configure the viewport on mapping More... | |
void | _set_listbox_viewpoint (void *w_, void *user_data) |
_set_listbox_viewpoint - move the view_port to position More... | |
void | _listbox_entry_released (void *w_, void *button_, void *user_data) |
_listbox_entry_released - redraw the slider when buttob released More... | |
#define XLISTBOX_PRIVATE_H_ |
Definition at line 24 of file xlistbox_private.h.
void _configure_listbox | ( | void * | w_, |
void * | user_data | ||
) |
_configure_listbox - configure the viewport on mapping
*w_ | - void pointer to view_port |
*user_data | - attached user_data |
Definition at line 90 of file xlistbox_private.c.
References Widget_t::app, Widget_t::childlist, childlist_has_child(), Xputty::dpy, max, Widget_t::parent, and Widget_t::widget.
void _draw_listbox | ( | void * | w_, |
void * | user_data | ||
) |
_draw_listbox - draw listbox on expose call
*w_ | - the listbox to draw |
*user_data | - attached user_data |
Definition at line 26 of file xlistbox_private.c.
References Widget_t::crb, NORMAL_, and use_bg_color_scheme().
void _draw_listbox_item | ( | void * | w_, |
void * | user_data | ||
) |
_draw_listbox_item - draw item on expose call
*w_ | - the item to draw |
*user_data | - attached user_data |
show label
Definition at line 33 of file xlistbox_private.c.
References ACTIVE_, Widget_t::app, Widget_t::childlist, Childlist_t::childs, Widget_t::crb, Xputty::dpy, Widget_t::flags, get_color_state(), HAS_TOOLTIP, Widget_t::label, NORMAL_, Widget_t::parent, PRELIGHT_, SELECTED_, Widget_t::state, tooltip_set_text(), use_base_color_scheme(), use_frame_color_scheme(), use_text_color_scheme(), and Widget_t::widget.
void _draw_listbox_viewslider | ( | void * | w_, |
void * | user_data | ||
) |
_draw_listbox_viewslider - draw a slider on the viewport to indicate the view point
*w_ | - void pointer to view_port |
*user_data | - attached user_data |
Definition at line 100 of file xlistbox_private.c.
References Widget_t::adj, adj_get_state(), Widget_t::app, Widget_t::crb, Xputty::dpy, Adjustment_t::max_value, NORMAL_, use_base_color_scheme(), use_bg_color_scheme(), use_fg_color_scheme(), and Widget_t::widget.
void _listbox_entry_released | ( | void * | w_, |
void * | button_, | ||
void * | user_data | ||
) |
_listbox_entry_released - redraw the slider when buttob released
*w_ | - void pointer to the Widget_t entry |
*button_ | - void pointer to the XButtonEvent |
*user_data | - void pointer to attached user_data |
Definition at line 132 of file xlistbox_private.c.
References Widget_t::adj, Func_t::button_release_callback, check_value_changed(), Widget_t::childlist, Childlist_t::childs, Childlist_t::elem, expose_widget(), Widget_t::flags, Widget_t::func, HAS_POINTER, Widget_t::label, Adjustment_t::max_value, Adjustment_t::min_value, Widget_t::parent, Widget_t::state, Adjustment_t::step, Adjustment_t::value, and Widget_t::widget.
void _reconfigure_listbox_viewport | ( | void * | w_, |
void * | user_data | ||
) |
_reconfigure_listbox_viewport - reconfigure the viewport adjustment on size changes
*w_ | - void pointer to view_port |
*user_data | - attached user_data |
Definition at line 77 of file xlistbox_private.c.
References Widget_t::adj, adj_get_state(), adj_set_state(), Widget_t::app, Widget_t::childlist, childlist_has_child(), Xputty::dpy, Adjustment_t::max_value, Widget_t::parent, and Widget_t::widget.
void _set_listbox_viewpoint | ( | void * | w_, |
void * | user_data | ||
) |
_set_listbox_viewpoint - move the view_port to position
*w_ | - void pointer to view_port |
*user_data | - attached user_data |
Definition at line 123 of file xlistbox_private.c.
References Widget_t::adj, adj_get_value(), Widget_t::app, Widget_t::childlist, Childlist_t::childs, Xputty::dpy, and Widget_t::widget.