![]() |
![]() |
![]() |
Moblin UI Toolkit Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
MxTooltip; const gchar * mx_tooltip_get_label (MxTooltip *tooltip); void mx_tooltip_set_label (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_label (MxTooltip *tooltip);
Get the text displayed on the tooltip
|
a MxTooltip |
Returns : |
the text for the tooltip. This must not be freed by the application |
void mx_tooltip_set_label (MxTooltip *tooltip, const gchar *text);
Sets the text displayed on the tooltip
|
a MxTooltip |
|
text to set the label to |
void mx_tooltip_show (MxTooltip *tooltip);
Show the tooltip relative to the associated widget.
|
a MxTooltip |
void mx_tooltip_hide (MxTooltip *tooltip);
Hide the 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.
|
A MxTooltip |
|
A ClutterGeometry |