#include "xputty.h"
Go to the source code of this file.
Macros | |
#define | XTOOLTIP_H_ |
Functions | |
void | tooltip_set_text (Widget_t *w, const char *label) |
tooltip_set_text - set a (new) text to a tooltip for Widget_t More... | |
void | add_tooltip (Widget_t *w, const char *label) |
add_tooltip - add a tooltip to Widget_t More... | |
Widget_t * | create_tooltip (Widget_t *parent, int width, int height) |
create_tooltip - create a tooltip for a Widget_t More... | |
#define XTOOLTIP_H_ |
Definition at line 24 of file xtooltip.h.
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.
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(), Xputty::dpy, Func_t::expose_callback, Widget_t::flags, Widget_t::func, Resize_t::gravity, HAS_TOOLTIP, IS_TOOLTIP, NONE, Widget_t::scale, USE_TRANSPARENCY, and Widget_t::widget.
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.