2014-06-27 15:36:05 -07:00
|
|
|
class Elm_Hover (Elm_Layout, Evas.Clickable_Interface)
|
2014-03-17 07:48:52 -07:00
|
|
|
{
|
|
|
|
eo_prefix: elm_obj_hover;
|
|
|
|
properties {
|
|
|
|
target {
|
|
|
|
set {
|
|
|
|
/*@
|
|
|
|
@brief Sets the target object for the hover.
|
|
|
|
|
|
|
|
This function will cause the hover to be centered on the target object.
|
|
|
|
|
|
|
|
@ingroup Hover */
|
|
|
|
}
|
|
|
|
get {
|
|
|
|
/*@
|
|
|
|
@brief Get the target object for the hover.
|
|
|
|
|
|
|
|
@return The target object for the hover.
|
|
|
|
|
|
|
|
@see elm_hover_target_set()
|
|
|
|
|
|
|
|
@ingroup Hover */
|
|
|
|
}
|
|
|
|
values {
|
|
|
|
Evas_Object *target; /*@ The object to center the hover onto. */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
methods {
|
2014-07-22 09:13:52 -07:00
|
|
|
best_content_location_get @const {
|
2014-03-17 07:48:52 -07:00
|
|
|
/*@
|
|
|
|
@brief Returns the best swallow location for content in the hover.
|
|
|
|
|
|
|
|
@return The edje location to place content into the hover or @c
|
|
|
|
NULL, on errors.
|
|
|
|
|
|
|
|
Best is defined here as the location at which there is the most available
|
|
|
|
space.
|
|
|
|
|
|
|
|
@p pref_axis may be one of
|
2014-08-31 08:44:10 -07:00
|
|
|
- #ELM_HOVER_AXIS_NONE -- no preferred orientation
|
|
|
|
- #ELM_HOVER_AXIS_HORIZONTAL -- horizontal
|
|
|
|
- #ELM_HOVER_AXIS_VERTICAL -- vertical
|
|
|
|
- #ELM_HOVER_AXIS_BOTH -- both
|
2014-03-17 07:48:52 -07:00
|
|
|
|
2014-08-31 08:44:10 -07:00
|
|
|
If #ELM_HOVER_AXIS_HORIZONTAL is chosen the returned position will
|
2014-03-17 07:48:52 -07:00
|
|
|
necessarily be along the horizontal axis("left" or "right"). If
|
2014-08-31 08:44:10 -07:00
|
|
|
#ELM_HOVER_AXIS_VERTICAL is chosen the returned position will necessarily
|
2014-03-17 07:48:52 -07:00
|
|
|
be along the vertical axis("top" or "bottom"). Choosing
|
2014-08-31 08:44:10 -07:00
|
|
|
#ELM_HOVER_AXIS_BOTH or #ELM_HOVER_AXIS_NONE has the same effect and the
|
2014-03-17 07:48:52 -07:00
|
|
|
returned position may be in either axis.
|
|
|
|
|
|
|
|
@see elm_object_part_content_set()
|
|
|
|
|
|
|
|
@ingroup Hover */
|
2014-08-11 07:46:11 -07:00
|
|
|
return: const(char)*;
|
2014-03-17 07:48:52 -07:00
|
|
|
params {
|
|
|
|
@in Elm_Hover_Axis pref_axis; /*@ The preferred orientation axis for the hover object to use */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
dismiss {
|
|
|
|
/*@
|
|
|
|
@brief Dismiss a hover object
|
|
|
|
|
|
|
|
@ingroup Hover */
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
implements {
|
2014-06-20 02:47:39 -07:00
|
|
|
class.constructor;
|
2014-06-27 15:36:05 -07:00
|
|
|
Eo.Base.constructor;
|
|
|
|
Evas.Object_Smart.del;
|
|
|
|
Evas.Object_Smart.hide;
|
|
|
|
Evas.Object_Smart.show;
|
|
|
|
Evas.Object_Smart.move;
|
|
|
|
Evas.Object_Smart.add;
|
|
|
|
Evas.Object_Smart.resize;
|
2014-06-20 02:47:39 -07:00
|
|
|
Elm_Widget.theme_apply;
|
|
|
|
Elm_Widget.sub_object_add;
|
|
|
|
Elm_Widget.parent;
|
|
|
|
Elm_Widget.focus_direction_manager_is;
|
|
|
|
Elm_Widget.focus_next_manager_is;
|
|
|
|
Elm_Widget.sub_object_del;
|
|
|
|
Elm_Container.content_get;
|
|
|
|
Elm_Container.content_set;
|
|
|
|
Elm_Container.content_unset;
|
|
|
|
Elm_Layout.sizing_eval;
|
|
|
|
Elm_Layout.content_aliases.get;
|
2014-03-17 07:48:52 -07:00
|
|
|
}
|
|
|
|
events {
|
|
|
|
focused;
|
|
|
|
unfocused;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|