![]() |
![]() |
![]() |
Mx Toolkit Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
struct 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 ClutterScriptable, ClutterAnimatable, AtkImplementorIface and MxStylable.
MxTooltip implements a single tooltip. It should not normally be created by the application but by the widget implementing tooltip capabilities, for example, mx_widget_set_tooltip_text.
struct 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
|
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
|
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 |