![]() |
libxputty 0.1
|
Go to the source code of this file.
Functions | |
void | tooltip_set_text (Widget_t *w, const char *label) |
tooltip_set_text - set a (new) text to a tooltip for Widget_t | |
void | add_tooltip (Widget_t *w, const char *label) |
add_tooltip - add a tooltip to Widget_t | |
Widget_t * | create_tooltip (Widget_t *parent, int width, int height) |
create_tooltip - create a tooltip for a Widget_t | |
void add_tooltip | ( | Widget_t * | w, |
const char * | label | ||
) |
add_tooltip - add a tooltip to Widget_t
*w | - pointer to the Widget_t request the tooltip |
*label | - the tooltip text |
Definition at line 41 of file xtooltip.c.
References _get_width(), create_tooltip(), and Widget_t::label.
Referenced by open_directory_dialog(), open_file_dialog(), save_file_dialog(), and tooltip_set_text().
create_tooltip - create a tooltip for a Widget_t
*parent | - pointer to the Widget_t the tooltip should pop over |
width | - define the width of the tooltip |
height | - define the height of the tooltip |
Definition at line 47 of file xtooltip.c.
References _draw_tooltip(), Widget_t::app, Widget_t::childlist, childlist_add_child(), create_window(), Func_t::expose_callback, Widget_t::flags, Widget_t::func, Resize_t::gravity, HAS_TOOLTIP, IS_TOOLTIP, IS_WIDGET, NONE, os_get_root_window(), os_set_transient_for_hint(), os_set_window_attrb(), os_translate_coords(), Widget_t::scale, and Widget_t::widget.
Referenced by add_tooltip().
void tooltip_set_text | ( | Widget_t * | w, |
const char * | label | ||
) |
tooltip_set_text - set a (new) text to a tooltip for Widget_t
*w | - pointer to the Widget_t request the tooltip |
*label | - the tooltip text |
Definition at line 25 of file xtooltip.c.
References _get_width(), add_tooltip(), Widget_t::childlist, Childlist_t::childs, Childlist_t::elem, Widget_t::flags, IS_TOOLTIP, and Widget_t::label.
Referenced by _draw_combobox(), _draw_combobox_entrys(), _draw_list(), _draw_listbox_item(), _draw_multi_list(), _update_list_view(), and _update_view().