forked from enlightenment/efl
Add function to return the children of an elm_box.
SVN revision: 52753
This commit is contained in:
parent
0b14b5b021
commit
d5cb2b88f8
|
@ -490,6 +490,7 @@ extern "C" {
|
|||
EAPI void elm_box_layout_transition(Evas_Object *obj, Evas_Object_Box_Data *priv, void *data);
|
||||
EAPI Elm_Box_Transition *elm_box_transition_new(const double duration, Evas_Object_Box_Layout start_layout, void *start_layout_data, void(*start_layout_free_data)(void *data), Evas_Object_Box_Layout end_layout, void *end_layout_data, void(*end_layout_free_data)(void *data), void(*transition_end_cb)(void *data), void *transition_end_data);
|
||||
EAPI void elm_box_transition_free(void *data);
|
||||
EAPI const Eina_List *elm_box_children_get(Evas_Object *obj);
|
||||
/* smart callbacks called:
|
||||
*/
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
#define SIG_CHILD_ADDED "child,added"
|
||||
#define SIG_CHILD_REMOVED "child,removed"
|
||||
|
||||
/**
|
||||
* @defgroup Box Box
|
||||
*
|
||||
|
@ -767,3 +768,19 @@ elm_box_transition_free(void *data)
|
|||
}
|
||||
free(data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieve the list of children packed into an elm_box
|
||||
*
|
||||
* @param obj The Elm_Box
|
||||
*
|
||||
* @ingroup Box
|
||||
*/
|
||||
EAPI const Eina_List *
|
||||
elm_box_children_get(Evas_Object *obj)
|
||||
{
|
||||
ELM_CHECK_WIDTYPE(obj, widtype) NULL;
|
||||
Widget_Data *wd = elm_widget_data_get(obj);
|
||||
if (!wd) return NULL;
|
||||
return evas_object_box_children_get(wd->box);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue