2011-12-29 23:20:48 -08:00
|
|
|
/**
|
2016-03-16 14:52:23 -07:00
|
|
|
* @defgroup Elm_Focus Focus
|
2012-04-16 18:35:46 -07:00
|
|
|
* @ingroup Elementary
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
|
|
|
* An Elementary application has, at all times, one (and only one)
|
|
|
|
* @b focused object. This is what determines where the input
|
|
|
|
* events go to within the application's window. Also, focused
|
|
|
|
* objects can be decorated differently, in order to signal to the
|
|
|
|
* user where the input is, at a given moment.
|
|
|
|
*
|
|
|
|
* Elementary applications also have the concept of <b>focus
|
|
|
|
* chain</b>: one can cycle through all the windows' focusable
|
|
|
|
* objects by input (tab key) or programmatically. The default
|
|
|
|
* focus chain for an application is the one define by the order in
|
|
|
|
* which the widgets where added in code. One will cycle through
|
2012-02-14 00:50:33 -08:00
|
|
|
* top level widgets, and, for each one containing sub-objects, cycle
|
2011-12-29 23:20:48 -08:00
|
|
|
* through them all, before returning to the level
|
|
|
|
* above. Elementary also allows one to set @b custom focus chains
|
|
|
|
* for their applications.
|
|
|
|
*
|
|
|
|
* Besides the focused decoration a widget may exhibit, when it
|
|
|
|
* gets focus, Elementary has a @b global focus highlight object
|
|
|
|
* that can be enabled for a window. If one chooses to do so, this
|
|
|
|
* extra highlight effect will surround the current focused object,
|
|
|
|
* too.
|
|
|
|
*
|
|
|
|
* @note Some Elementary widgets are @b unfocusable, after
|
|
|
|
* creation, by their very nature: they are not meant to be
|
|
|
|
* interacted with input events, but are there just for visual
|
|
|
|
* purposes.
|
|
|
|
*
|
|
|
|
* @ref general_functions_example_page "This" example contemplates
|
|
|
|
* some of these functions.
|
|
|
|
*/
|
2011-12-29 22:49:28 -08:00
|
|
|
|
2011-12-29 23:20:48 -08:00
|
|
|
/**
|
|
|
|
* Get the whether an Elementary object has the focus or not.
|
|
|
|
*
|
|
|
|
* @param obj The Elementary object to get the information from
|
|
|
|
* @return @c EINA_TRUE, if the object is focused, @c EINA_FALSE if
|
|
|
|
* not (and on errors).
|
|
|
|
*
|
|
|
|
* @see elm_object_focus_set()
|
|
|
|
*
|
2016-03-16 14:52:23 -07:00
|
|
|
* @ingroup Elm_Focus
|
2011-12-29 23:20:48 -08:00
|
|
|
*/
|
2011-12-30 01:48:46 -08:00
|
|
|
EAPI Eina_Bool elm_object_focus_get(const Evas_Object *obj);
|
2011-12-29 22:49:28 -08:00
|
|
|
|
2011-12-29 23:20:48 -08:00
|
|
|
/**
|
|
|
|
* Set/unset focus to a given Elementary object.
|
|
|
|
*
|
|
|
|
* @param obj The Elementary object to operate on.
|
2011-12-30 00:37:54 -08:00
|
|
|
* @param focus @c EINA_TRUE Set focus to a given object,
|
|
|
|
* @c EINA_FALSE Unset focus to a given object.
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
|
|
|
* @note When you set focus to this object, if it can handle focus, will
|
|
|
|
* take the focus away from the one who had it previously and will, for
|
|
|
|
* now on, be the one receiving input events. Unsetting focus will remove
|
|
|
|
* the focus from @p obj, passing it back to the previous element in the
|
|
|
|
* focus chain list.
|
|
|
|
*
|
2013-03-09 07:47:26 -08:00
|
|
|
* @warning Only visible object can get a focus. Call evas_object_show(o) before
|
|
|
|
* calling this API, if you want to give a focus to the evas object.
|
2013-01-26 02:15:26 -08:00
|
|
|
*
|
2011-12-29 23:20:48 -08:00
|
|
|
* @see elm_object_focus_get(), elm_object_focus_custom_chain_get()
|
|
|
|
*
|
2016-03-16 14:52:23 -07:00
|
|
|
* @ingroup Elm_Focus
|
2011-12-29 23:20:48 -08:00
|
|
|
*/
|
2011-12-30 01:48:46 -08:00
|
|
|
EAPI void elm_object_focus_set(Evas_Object *obj, Eina_Bool focus);
|
2011-12-29 22:49:28 -08:00
|
|
|
|
2011-12-29 23:20:48 -08:00
|
|
|
/**
|
2012-03-04 17:57:17 -08:00
|
|
|
* Set the ability for an Elementary object to be focused
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
|
|
|
* @param obj The Elementary object to operate on
|
|
|
|
* @param enable @c EINA_TRUE if the object can be focused, @c
|
|
|
|
* EINA_FALSE if not (and on errors)
|
|
|
|
*
|
|
|
|
* This sets whether the object @p obj is able to take focus or
|
|
|
|
* not. Unfocusable objects do nothing when programmatically
|
|
|
|
* focused, being the nearest focusable parent object the one
|
|
|
|
* really getting focus. Also, when they receive mouse input, they
|
|
|
|
* will get the event, but not take away the focus from where it
|
|
|
|
* was previously.
|
|
|
|
*
|
2016-03-16 14:52:23 -07:00
|
|
|
* @ingroup Elm_Focus
|
2011-12-29 23:20:48 -08:00
|
|
|
*/
|
2011-12-30 01:48:46 -08:00
|
|
|
EAPI void elm_object_focus_allow_set(Evas_Object *obj, Eina_Bool enable);
|
2011-12-29 22:49:28 -08:00
|
|
|
|
2011-12-29 23:20:48 -08:00
|
|
|
/**
|
|
|
|
* Get whether an Elementary object is focusable or not
|
|
|
|
*
|
|
|
|
* @param obj The Elementary object to operate on
|
|
|
|
* @return @c EINA_TRUE if the object is allowed to be focused, @c
|
|
|
|
* EINA_FALSE if not (and on errors)
|
|
|
|
*
|
|
|
|
* @note Objects which are meant to be interacted with by input
|
|
|
|
* events are created able to be focused, by default. All the
|
|
|
|
* others are not.
|
|
|
|
*
|
2016-03-16 14:52:23 -07:00
|
|
|
* @ingroup Elm_Focus
|
2011-12-29 23:20:48 -08:00
|
|
|
*/
|
2011-12-30 01:48:46 -08:00
|
|
|
EAPI Eina_Bool elm_object_focus_allow_get(const Evas_Object *obj);
|
2011-12-29 22:49:28 -08:00
|
|
|
|
2011-12-29 23:20:48 -08:00
|
|
|
/**
|
|
|
|
* Set custom focus chain.
|
|
|
|
*
|
|
|
|
* This function overwrites any previous custom focus chain within
|
|
|
|
* the list of objects. The previous list will be deleted and this list
|
|
|
|
* will be managed by elementary. After it is set, don't modify it.
|
|
|
|
*
|
|
|
|
* @note On focus cycle, only will be evaluated children of this container.
|
|
|
|
*
|
|
|
|
* @param obj The container object
|
|
|
|
* @param objs Chain of objects to pass focus
|
2016-03-16 14:52:23 -07:00
|
|
|
* @ingroup Elm_Focus
|
2011-12-29 23:20:48 -08:00
|
|
|
*/
|
2011-12-30 01:48:46 -08:00
|
|
|
EAPI void elm_object_focus_custom_chain_set(Evas_Object *obj, Eina_List *objs);
|
2011-12-29 22:49:28 -08:00
|
|
|
|
2011-12-29 23:20:48 -08:00
|
|
|
/**
|
|
|
|
* Unset a custom focus chain on a given Elementary widget
|
|
|
|
*
|
|
|
|
* @param obj The container object to remove focus chain from
|
|
|
|
*
|
|
|
|
* Any focus chain previously set on @p obj (for its child objects)
|
|
|
|
* is removed entirely after this call.
|
|
|
|
*
|
2016-03-16 14:52:23 -07:00
|
|
|
* @ingroup Elm_Focus
|
2011-12-29 23:20:48 -08:00
|
|
|
*/
|
2011-12-30 01:48:46 -08:00
|
|
|
EAPI void elm_object_focus_custom_chain_unset(Evas_Object *obj);
|
2011-12-29 22:49:28 -08:00
|
|
|
|
2011-12-29 23:20:48 -08:00
|
|
|
/**
|
|
|
|
* Get custom focus chain
|
|
|
|
*
|
|
|
|
* @param obj The container object
|
2017-10-18 01:38:16 -07:00
|
|
|
* @return Chain of objects to pass focus.
|
2016-03-16 14:52:23 -07:00
|
|
|
* @ingroup Elm_Focus
|
2011-12-29 23:20:48 -08:00
|
|
|
*/
|
2011-12-30 01:48:46 -08:00
|
|
|
EAPI const Eina_List *elm_object_focus_custom_chain_get(const Evas_Object *obj);
|
2011-12-29 22:49:28 -08:00
|
|
|
|
2011-12-29 23:20:48 -08:00
|
|
|
/**
|
|
|
|
* Append object to custom focus chain.
|
|
|
|
*
|
|
|
|
* @note If relative_child equal to NULL or not in custom chain, the object
|
|
|
|
* will be added in end.
|
|
|
|
*
|
|
|
|
* @note On focus cycle, only will be evaluated children of this container.
|
|
|
|
*
|
|
|
|
* @param obj The container object
|
|
|
|
* @param child The child to be added in custom chain
|
|
|
|
* @param relative_child The relative object to position the child
|
2016-03-16 14:52:23 -07:00
|
|
|
* @ingroup Elm_Focus
|
2011-12-29 23:20:48 -08:00
|
|
|
*/
|
2011-12-30 01:48:46 -08:00
|
|
|
EAPI void elm_object_focus_custom_chain_append(Evas_Object *obj, Evas_Object *child, Evas_Object *relative_child);
|
2011-12-29 22:49:28 -08:00
|
|
|
|
2011-12-29 23:20:48 -08:00
|
|
|
/**
|
|
|
|
* Prepend object to custom focus chain.
|
|
|
|
*
|
|
|
|
* @note If relative_child equal to NULL or not in custom chain, the object
|
|
|
|
* will be added in begin.
|
|
|
|
*
|
|
|
|
* @note On focus cycle, only will be evaluated children of this container.
|
|
|
|
*
|
|
|
|
* @param obj The container object
|
|
|
|
* @param child The child to be added in custom chain
|
|
|
|
* @param relative_child The relative object to position the child
|
2016-03-16 14:52:23 -07:00
|
|
|
* @ingroup Elm_Focus
|
2011-12-29 23:20:48 -08:00
|
|
|
*/
|
2011-12-30 01:48:46 -08:00
|
|
|
EAPI void elm_object_focus_custom_chain_prepend(Evas_Object *obj, Evas_Object *child, Evas_Object *relative_child);
|
2011-12-29 22:49:28 -08:00
|
|
|
|
2011-12-29 23:20:48 -08:00
|
|
|
/**
|
|
|
|
* Give focus to next object in object tree.
|
|
|
|
*
|
|
|
|
* Give focus to next object in focus chain of one object sub-tree.
|
|
|
|
* If the last object of chain already have focus, the focus will go to the
|
|
|
|
* first object of chain.
|
|
|
|
*
|
|
|
|
* @param obj The object root of sub-tree
|
2012-03-05 17:06:41 -08:00
|
|
|
* @param dir Direction to move the focus
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
2013-03-22 17:36:21 -07:00
|
|
|
* @see elm_object_focus_next_object_get(), elm_object_focus_next_object_set()
|
|
|
|
*
|
2016-03-16 14:52:23 -07:00
|
|
|
* @ingroup Elm_Focus
|
2011-12-29 23:20:48 -08:00
|
|
|
*/
|
2012-03-05 17:06:41 -08:00
|
|
|
EAPI void elm_object_focus_next(Evas_Object *obj, Elm_Focus_Direction dir);
|
2011-12-29 22:49:28 -08:00
|
|
|
|
2013-03-22 17:36:21 -07:00
|
|
|
/**
|
|
|
|
* Get next object which was set with specific focus direction.
|
|
|
|
*
|
|
|
|
* Get next object which was set by elm_object_focus_next_object_set
|
|
|
|
* with specific focus direction.
|
|
|
|
*
|
|
|
|
* @param obj The Elementary object
|
|
|
|
* @param dir Focus direction
|
|
|
|
* @return Focus next object or @c NULL, if there is no focus next object.
|
|
|
|
*
|
|
|
|
* @see elm_object_focus_next_object_set(), elm_object_focus_next()
|
|
|
|
*
|
|
|
|
* @since 1.8
|
|
|
|
*
|
2016-03-16 14:52:23 -07:00
|
|
|
* @ingroup Elm_Focus
|
2013-03-22 17:36:21 -07:00
|
|
|
*/
|
|
|
|
EAPI Evas_Object * elm_object_focus_next_object_get(const Evas_Object *obj, Elm_Focus_Direction dir);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Set next object with specific focus direction.
|
|
|
|
*
|
|
|
|
* When focus next object is set with specific focus direction, this object
|
|
|
|
* will be the first candidate when finding next focusable object.
|
|
|
|
* Focus next object can be registered with six directions that are previous,
|
|
|
|
* next, up, down, right, and left.
|
|
|
|
*
|
|
|
|
* @param obj The Elementary object
|
|
|
|
* @param next Focus next object
|
|
|
|
* @param dir Focus direction
|
|
|
|
*
|
|
|
|
* @see elm_object_focus_next_object_get(), elm_object_focus_next()
|
|
|
|
*
|
|
|
|
* @since 1.8
|
|
|
|
*
|
2016-03-16 14:52:23 -07:00
|
|
|
* @ingroup Elm_Focus
|
2013-03-22 17:36:21 -07:00
|
|
|
*/
|
|
|
|
EAPI void elm_object_focus_next_object_set(Evas_Object *obj, Evas_Object *next, Elm_Focus_Direction dir);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get focused object in object tree.
|
|
|
|
*
|
|
|
|
* This function returns current focused object in one object sub-tree.
|
|
|
|
*
|
|
|
|
* @param obj The object root of sub-tree
|
|
|
|
* @return Current focused or @c NULL, if there is no focused object.
|
|
|
|
*
|
|
|
|
* @since 1.8
|
|
|
|
*
|
2016-03-16 14:52:23 -07:00
|
|
|
* @ingroup Elm_Focus
|
2013-03-22 17:36:21 -07:00
|
|
|
*/
|
|
|
|
EAPI Evas_Object *elm_object_focused_object_get(const Evas_Object *obj);
|
|
|
|
|
2011-12-29 23:20:48 -08:00
|
|
|
/**
|
2012-03-06 09:57:20 -08:00
|
|
|
* Make the elementary object and its children to be focusable
|
|
|
|
* (or unfocusable).
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
|
|
|
* @param obj The Elementary object to operate on
|
2012-03-06 09:57:20 -08:00
|
|
|
* @param focusable @c EINA_TRUE for focusable,
|
|
|
|
* @c EINA_FALSE for unfocusable.
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
|
|
|
* This sets whether the object @p obj and its children objects
|
|
|
|
* are able to take focus or not. If the tree is set as unfocusable,
|
|
|
|
* newest focused object which is not in this tree will get focus.
|
|
|
|
* This API can be helpful for an object to be deleted.
|
|
|
|
* When an object will be deleted soon, it and its children may not
|
|
|
|
* want to get focus (by focus reverting or by other focus controls).
|
|
|
|
* Then, just use this API before deleting.
|
|
|
|
*
|
2012-03-06 04:30:16 -08:00
|
|
|
* @see elm_object_tree_focus_allow_get()
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
2016-03-16 14:52:23 -07:00
|
|
|
* @ingroup Elm_Focus
|
2012-02-21 04:36:54 -08:00
|
|
|
*
|
2011-12-29 23:20:48 -08:00
|
|
|
*/
|
2012-03-06 09:57:20 -08:00
|
|
|
EAPI void elm_object_tree_focus_allow_set(Evas_Object *obj, Eina_Bool focusable);
|
2011-12-29 22:49:28 -08:00
|
|
|
|
2011-12-29 23:20:48 -08:00
|
|
|
/**
|
2012-03-06 09:57:20 -08:00
|
|
|
* Get whether an Elementary object and its children are focusable or not.
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
|
|
|
* @param obj The Elementary object to get the information from
|
2012-03-06 09:57:20 -08:00
|
|
|
* @return @c EINA_TRUE, if the tree is focusable,
|
2011-12-29 23:20:48 -08:00
|
|
|
* @c EINA_FALSE if not (and on errors).
|
|
|
|
*
|
2012-03-06 04:30:16 -08:00
|
|
|
* @see elm_object_tree_focus_allow_set()
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
2016-03-16 14:52:23 -07:00
|
|
|
* @ingroup Elm_Focus
|
2011-12-29 23:20:48 -08:00
|
|
|
*/
|
2012-03-06 04:30:16 -08:00
|
|
|
EAPI Eina_Bool elm_object_tree_focus_allow_get(const Evas_Object *obj);
|
2014-02-05 02:17:41 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the focus highlight style to be used by a given widget.
|
|
|
|
*
|
|
|
|
* @param obj The Elementary widget for which focus style needs to be set.
|
|
|
|
* @param style The name of the focus style to use on it.
|
|
|
|
* @return @c EINA_TRUE on success, @c EINA_FALSE otherwise.
|
|
|
|
*
|
2014-03-01 07:51:59 -08:00
|
|
|
* @note This overrides the style which is set
|
2014-02-05 02:17:41 -08:00
|
|
|
* by elm_win_focus_highlight_style_set().
|
|
|
|
*
|
|
|
|
* @see elm_object_focus_highlight_style_get
|
|
|
|
*
|
|
|
|
* @since 1.9
|
|
|
|
*
|
2016-03-16 14:52:23 -07:00
|
|
|
* @ingroup Elm_Focus
|
2014-02-05 02:17:41 -08:00
|
|
|
*/
|
|
|
|
EAPI Eina_Bool elm_object_focus_highlight_style_set(Evas_Object *obj, const char *style);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the focus highlight style to be used by a given widget.
|
2014-03-01 07:51:59 -08:00
|
|
|
*
|
2014-02-05 02:17:41 -08:00
|
|
|
* @param obj The Elementary widget to query for its focus highlight style.
|
|
|
|
* @return The focus highlight style name used by widget.
|
|
|
|
*
|
|
|
|
* @see elm_object_focus_highlight_style_set()
|
|
|
|
*
|
|
|
|
* @since 1.9
|
|
|
|
*
|
2016-03-16 14:52:23 -07:00
|
|
|
* @ingroup Elm_Focus
|
2014-02-05 02:17:41 -08:00
|
|
|
*/
|
|
|
|
EAPI const char *elm_object_focus_highlight_style_get(const Evas_Object *obj);
|
|
|
|
|
2015-06-01 21:42:00 -07:00
|
|
|
/**
|
|
|
|
* Set the focus movement policy to a given Elementary object.
|
|
|
|
*
|
|
|
|
* @param obj The Elementary object to operate on
|
|
|
|
* @param policy A policy to apply for the focus movement
|
|
|
|
*
|
|
|
|
* @see elm_object_focus_move_policy_get
|
|
|
|
*
|
|
|
|
* @since 1.15
|
|
|
|
*
|
2016-03-16 14:52:23 -07:00
|
|
|
* @ingroup Elm_Focus
|
2015-06-01 21:42:00 -07:00
|
|
|
*/
|
|
|
|
EAPI void elm_object_focus_move_policy_set(Evas_Object *obj, Elm_Focus_Move_Policy policy);
|
|
|
|
|
|
|
|
/**
|
2019-01-28 04:14:20 -08:00
|
|
|
* Get the focus movement policy from a given Elementary object.
|
2015-06-01 21:42:00 -07:00
|
|
|
*
|
|
|
|
* @param obj The Elementary widget to get the information from
|
|
|
|
* @return The focus movement policy
|
|
|
|
*
|
2015-06-25 06:54:39 -07:00
|
|
|
* Get how the focus is moved to the give Elementary object. It can be
|
2015-06-01 21:42:00 -07:00
|
|
|
* #ELM_FOCUS_MOVE_POLICY_CLICK, #ELM_FOCUS_MOVE_POLICY_IN,
|
|
|
|
* or #ELM_FOCUS_MOVE_POLICY_KEY_ONLY.
|
|
|
|
* The first means elementary focus is moved on elementary object click.
|
|
|
|
* The second means elementary focus is moved on elementary object mouse in.
|
|
|
|
* The last means elementary focus is moved only by key input like Left,
|
|
|
|
* Right, Up, Down, Tab, or Shift+Tab.
|
|
|
|
*
|
|
|
|
* @see elm_object_focus_move_policy_set
|
|
|
|
*
|
|
|
|
* @since 1.15
|
|
|
|
*
|
2016-03-16 14:52:23 -07:00
|
|
|
* @ingroup Elm_Focus
|
2015-06-01 21:42:00 -07:00
|
|
|
*/
|
2015-06-08 10:44:29 -07:00
|
|
|
EAPI Elm_Focus_Move_Policy elm_object_focus_move_policy_get(const Evas_Object *obj);
|
2015-08-12 01:25:15 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the focus region show mode to a given Elementary object.
|
|
|
|
*
|
|
|
|
* @param obj The Elementary object to operate on
|
|
|
|
* @param mode A mode to show the focus region
|
|
|
|
*
|
|
|
|
* @see elm_object_focus_region_show_mode_get
|
|
|
|
*
|
|
|
|
* When the focus is move to the object in scroller, it is scrolled
|
|
|
|
* to show the focus region as a widget. If the focus region want to be shown
|
|
|
|
* as an item, set the mode ELM_FOCUS_REGION_SHOW_ITEM.
|
|
|
|
* If then, it will be scrolled as an item.
|
|
|
|
*
|
2019-03-17 07:30:23 -07:00
|
|
|
* This API is only implemented for Elm_Gengrid widgets. Every other widgets will always automatically show the widget.
|
|
|
|
*
|
2015-08-12 01:25:15 -07:00
|
|
|
* @since 1.16
|
|
|
|
*
|
2016-03-16 14:52:23 -07:00
|
|
|
* @ingroup Elm_Focus
|
2015-08-12 01:25:15 -07:00
|
|
|
*/
|
|
|
|
EAPI void elm_object_focus_region_show_mode_set(Evas_Object *obj, Elm_Focus_Region_Show_Mode mode);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the focus region show mode to a given Elementary object.
|
|
|
|
*
|
|
|
|
* @param obj The Elementary object to get the information from
|
|
|
|
* @return The focus region shown mode
|
|
|
|
*
|
|
|
|
* @see elm_object_focus_region_show_mode_set
|
|
|
|
*
|
|
|
|
* @since 1.16
|
|
|
|
*
|
2016-03-16 14:52:23 -07:00
|
|
|
* @ingroup Elm_Focus
|
2015-08-12 01:25:15 -07:00
|
|
|
*/
|
|
|
|
EAPI Elm_Focus_Region_Show_Mode elm_object_focus_region_show_mode_get(const Evas_Object *obj);
|
2016-03-18 00:38:26 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Returns the widget's focus movement policy mode setting.
|
|
|
|
*
|
|
|
|
* @param obj The widget.
|
|
|
|
* @return focus movement policy mode setting of the object.
|
|
|
|
*
|
|
|
|
* @see elm_object_focus_move_policy_automatic_set
|
|
|
|
*
|
|
|
|
* @since 1.18
|
|
|
|
*
|
|
|
|
* @ingroup Focus
|
|
|
|
*/
|
|
|
|
EAPI Eina_Bool elm_object_focus_move_policy_automatic_get(const Evas_Object *obj);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Sets the widget's focus movement policy mode setting.
|
|
|
|
* When widget in automatic mode, it follows the system focus movement policy mode
|
|
|
|
* set by elm_config_focus_move_policy_set().
|
|
|
|
* @param obj The widget.
|
|
|
|
* @param automatic @c EINA_TRUE for auto focus_move_policy mode. @c EINA_FALSE for
|
|
|
|
* manual.
|
|
|
|
*
|
|
|
|
* @see elm_object_focus_move_policy_automatic_get
|
|
|
|
*
|
|
|
|
* @since 1.18
|
|
|
|
*
|
|
|
|
* @ingroup Focus
|
|
|
|
*/
|
|
|
|
EAPI void elm_object_focus_move_policy_automatic_set(Evas_Object *obj, Eina_Bool automatic);
|