Tizen Native API
4.0
|
The Tooltip is an (internal, for now) smart object used to show a content in a frame on mouse hover of objects(or widgets), with tips/information about them.
Functions | |
void | elm_object_tooltip_move_freeze_push (Evas_Object *obj) |
void | elm_object_tooltip_move_freeze_pop (Evas_Object *obj) |
int | elm_object_tooltip_move_freeze_get (const Evas_Object *obj) |
void | elm_object_tooltip_orient_set (Evas_Object *obj, Elm_Tooltip_Orient orient) |
Sets the orientation of the tooltip around the owner region. | |
Elm_Tooltip_Orient | elm_object_tooltip_orient_get (const Evas_Object *obj) |
Returns the orientation of Tooltip. | |
Typedefs | |
typedef Evas_Object *(* | Elm_Tooltip_Content_Cb )(void *data, Evas_Object *obj, Evas_Object *tooltip) |
typedef Evas_Object *(* | Elm_Tooltip_Item_Content_Cb )(void *data, Evas_Object *obj, Evas_Object *tooltip, void *item) |
Typedef Documentation
typedef Evas_Object*(* Elm_Tooltip_Content_Cb)(void *data, Evas_Object *obj, Evas_Object *tooltip) |
Called back when a widget's tooltip is activated and needs content.
- Parameters:
-
data user-data given to elm_object_tooltip_content_cb_set() obj owner widget. tooltip The tooltip object (affix content to this!)
typedef Evas_Object*(* Elm_Tooltip_Item_Content_Cb)(void *data, Evas_Object *obj, Evas_Object *tooltip, void *item) |
Called back when a widget's item tooltip is activated and needs content.
- Parameters:
-
data user-data given to elm_object_tooltip_content_cb_set() obj owner widget. tooltip The tooltip object (affix content to this!) item context dependent item. As an example, if tooltip was set on elm_list item, then it is of this type.
Enumeration Type Documentation
enum Elm_Tooltip_Orient |
Possible orient values for tooltip.
These values should be used in conjunction to elm_object_tooltip_orient_set() to set the position around which the tooltip should appear(relative to its parent)
- Enumerator:
Function Documentation
int elm_object_tooltip_move_freeze_get | ( | const Evas_Object * | obj | ) |
Get the movement freeze by 1
This gets the movement freeze count by one.
- Parameters:
-
obj The tooltip's anchor object
- Returns:
- The movement freeze count
- Since (EFL) :
- 1.9
- Since :
- 3.0
void elm_object_tooltip_move_freeze_pop | ( | Evas_Object * | obj | ) |
This decrements the tooltip freeze count by one.
- Parameters:
-
obj The tooltip's anchor object
- Since (EFL) :
- 1.9
- Since :
- 3.0
void elm_object_tooltip_move_freeze_push | ( | Evas_Object * | obj | ) |
This increments the tooltip movement freeze count by one. If the count is more than 0, the tooltip position will be fixed.
- Parameters:
-
obj The tooltip's anchor object
- Since (EFL) :
- 1.9
- Since :
- 3.0
Elm_Tooltip_Orient elm_object_tooltip_orient_get | ( | const Evas_Object * | obj | ) |
Returns the orientation of Tooltip.
- Parameters:
-
obj The owner object
- Returns:
- The orientation of the tooltip
- See also:
- elm_object_tooltip_orient_set() Elm_Tooltip_Orient for possible values.
- Since :
- 3.0
void elm_object_tooltip_orient_set | ( | Evas_Object * | obj, |
Elm_Tooltip_Orient | orient | ||
) |
Sets the orientation of the tooltip around the owner region.
Sets the position in which tooltip will appear around its owner. By default, ELM_TOOLTIP_ORIENT_NONE is set.
- Parameters:
-
obj The owner widget. orient The orientation of the tooltip.
- See also:
- Elm_Tooltip_Orient for possible values.
- Since (EFL) :
- 1.9
- Since :
- 3.0