| Moblin UI Toolkit Reference Manual | ||||
|---|---|---|---|---|
MxTooltip;
const gchar* mx_tooltip_get_text (MxTooltip *tooltip);
void mx_tooltip_set_text (MxTooltip *tooltip,
const gchar *text);
void mx_tooltip_show (MxTooltip *tooltip);
void mx_tooltip_hide (MxTooltip *tooltip);
void mx_tooltip_set_tip_area (MxTooltip *tooltip,
const ClutterGeometry *area);
const ClutterGeometry* mx_tooltip_get_tip_area (MxTooltip *tooltip);
GObject
+----GInitiallyUnowned
+----ClutterActor
+----MxWidget
+----MxFloatingWidget
+----MxTooltip
MxTooltip implements a single tooltip. It should not normally be created
by the application but by the widget implementing tooltip capabilities, for
example, #mx_button_set_tooltip().
typedef struct _MxTooltip MxTooltip;
The contents of this structure is private and should only be accessed using the provided API.
const gchar* mx_tooltip_get_text (MxTooltip *tooltip);
Get the text displayed on the tooltip
tooltip : |
a MxTooltip |
| Returns : | the text for the tooltip. This must not be freed by the application |
void mx_tooltip_set_text (MxTooltip *tooltip, const gchar *text);
Sets the text displayed on the tooltip
tooltip : |
a MxTooltip |
text : |
text to set the label to |
void mx_tooltip_show (MxTooltip *tooltip);
Show the tooltip relative to the associated widget.
tooltip : |
a MxTooltip |
void mx_tooltip_hide (MxTooltip *tooltip);
Hide the tooltip
tooltip : |
a MxTooltip |
void mx_tooltip_set_tip_area (MxTooltip *tooltip, const ClutterGeometry *area);
Set the area on the stage that the tooltip applies to.
tooltip : |
A MxTooltip |
area : |
A ClutterGeometry |