|  |  |  | Mx Toolkit Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
struct MxTooltip; struct MxTooltipClass; 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); gboolean mx_tooltip_is_in_browse_mode (void);
GObject +----GInitiallyUnowned +----ClutterActor +----MxWidget +----MxFloatingWidget +----MxTooltip
MxTooltip implements ClutterContainer, 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.
struct MxTooltipClass {
  MxFloatingWidgetClass parent_class;
  /* padding for future expansion */
  void (*_padding_0) (void);
  void (*_padding_1) (void);
  void (*_padding_2) (void);
  void (*_padding_3) (void);
  void (*_padding_4) (void);
};
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 | 
const ClutterGeometry * mx_tooltip_get_tip_area         (MxTooltip *tooltip);
Retrieve the area on the stage that the tooltip currently applies to
| 
 | A MxTooltip | 
| Returns : | the ClutterGeometry, owned by the tooltip which must not be freed by the application. | 
gboolean            mx_tooltip_is_in_browse_mode        (void);
Browse mode is entered whenever a tooltip is displayed and it is left after a short delay when a tooltip is hidden. This is used to make tooltips display quicker when a previous tooltip is already displayed.
Since 1.2
"tip-area" property"tip-area" ClutterGeometry* : Read / Write
Area on the stage the tooltip applies to.