![]() |
libxputty 0.1
|
Go to the source code of this file.
Functions | |
Widget_t * | add_popup_spinbox (Widget_t *parent, const char *label, int x, int y, int width, int height) |
add_popup_spinbox - add a popup spinbox to a valuedisplay this is implemented in the valuedisplay via double click | |
Widget_t * | add_valuedisplay (Widget_t *parent, const char *label, int x, int y, int width, int height) |
add_valuedisplay - add a valuedisplay widget to a Widget_t | |
Widget_t * add_popup_spinbox | ( | Widget_t * | parent, |
const char * | label, | ||
int | x, | ||
int | y, | ||
int | width, | ||
int | height | ||
) |
add_popup_spinbox - add a popup spinbox to a valuedisplay this is implemented in the valuedisplay via double click
*parent | - pointer to the Widget_t valuedisplay |
*label | - Label to show on the valuedisplay stub |
x,y,width,height | - the position/geometry to create the spinbox the spinbox will popup above the valuedisplay anyway |
Definition at line 26 of file xvaluedisplay.c.
References _buttons_released(), _draw_buttons(), _draw_spinbox(), Widget_t::app, Func_t::button_release_callback, Widget_t::childlist, childlist_add_child(), create_widget(), create_window(), Func_t::expose_callback, Widget_t::flags, Widget_t::func, Resize_t::gravity, IS_POPUP, IS_WIDGET, NO_AUTOREPEAT, NO_PROPAGATE, NONE, NORTHWEST, os_get_root_window(), os_set_transient_for_hint(), os_set_window_attrb(), os_translate_coords(), Widget_t::parent, Widget_t::scale, and Widget_t::widget.
Referenced by add_valuedisplay().
Widget_t * add_valuedisplay | ( | Widget_t * | parent, |
const char * | label, | ||
int | x, | ||
int | y, | ||
int | width, | ||
int | height | ||
) |
add_valuedisplay - add a valuedisplay widget to a Widget_t
*parent | - pointer to the Widget_t request the valuedisplay |
*label | - Label to show on the valuedisplay |
x,y,width,height | - the position/geometry to create the valuedisplay |
Definition at line 50 of file xvaluedisplay.c.
References _draw_valuedisplay(), _popup_spinbox(), add_adjustment(), add_popup_spinbox(), Widget_t::adj, Widget_t::adj_y, Widget_t::app, CENTER, CL_CONTINUOS, create_widget(), Func_t::double_click_callback, Func_t::enter_callback, Func_t::expose_callback, Widget_t::func, Resize_t::gravity, Widget_t::label, Func_t::leave_callback, os_transparent_draw(), and Widget_t::scale.