forked from enlightenment/efl
fix changed object_tree_focus api to make sense
SVN revision: 68843
This commit is contained in:
parent
b7d5ebeecb
commit
e8edc0be6e
|
@ -177,12 +177,12 @@ EAPI void elm_object_focus_custom_chain_prepend(Evas_Object *obj
|
|||
EAPI void elm_object_focus_next(Evas_Object *obj, Elm_Focus_Direction dir);
|
||||
|
||||
/**
|
||||
* Make the elementary object and its children to be unfocusable
|
||||
* (or focusable).
|
||||
* Make the elementary object and its children to be focusable
|
||||
* (or unfocusable).
|
||||
*
|
||||
* @param obj The Elementary object to operate on
|
||||
* @param unfocusable @c EINA_TRUE for unfocusable,
|
||||
* @c EINA_FALSE for focusable.
|
||||
* @param focusable @c EINA_TRUE for focusable,
|
||||
* @c EINA_FALSE for unfocusable.
|
||||
*
|
||||
* 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,
|
||||
|
@ -197,13 +197,13 @@ EAPI void elm_object_focus_next(Evas_Object *obj, Elm_Focus_Dire
|
|||
* @ingroup Focus
|
||||
*
|
||||
*/
|
||||
EAPI void elm_object_tree_focus_allow_set(Evas_Object *obj, Eina_Bool unfocusable);
|
||||
EAPI void elm_object_tree_focus_allow_set(Evas_Object *obj, Eina_Bool focusable);
|
||||
|
||||
/**
|
||||
* Get whether an Elementary object and its children are unfocusable or not.
|
||||
* Get whether an Elementary object and its children are focusable or not.
|
||||
*
|
||||
* @param obj The Elementary object to get the information from
|
||||
* @return @c EINA_TRUE, if the tree is unfocusable,
|
||||
* @return @c EINA_TRUE, if the tree is focusable,
|
||||
* @c EINA_FALSE if not (and on errors).
|
||||
*
|
||||
* @see elm_object_tree_focus_allow_set()
|
||||
|
|
|
@ -1179,10 +1179,10 @@ elm_object_tree_unfocusable_get(const Evas_Object *obj)
|
|||
|
||||
EAPI void
|
||||
elm_object_tree_focus_allow_set(Evas_Object *obj,
|
||||
Eina_Bool tree_unfocusable)
|
||||
Eina_Bool tree_focusable)
|
||||
{
|
||||
EINA_SAFETY_ON_NULL_RETURN(obj);
|
||||
elm_widget_tree_unfocusable_set(obj, tree_unfocusable);
|
||||
elm_widget_tree_unfocusable_set(obj, !tree_focusable);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
|
|
Loading…
Reference in New Issue