add function for returning e_layout children

SVN revision: 83749
This commit is contained in:
Mike Blumenkrantz 2013-02-07 13:19:57 +00:00
parent b7cd7e5f18
commit db702e2685
4 changed files with 14 additions and 0 deletions

View File

@ -69,6 +69,7 @@
2013-01-29 Mike Blumenkrantz
* fixed bug where dragging files into sidebar would move them instead of creating links
* added function for getting children of e_layout
2013-01-23 Chris Michael

1
NEWS
View File

@ -26,6 +26,7 @@ Additions:
* e_widget_check_widget_disable_on_*
* e_widget_on_disable_hook_set
* e_int_border_remember_edit
* Added function for getting children of e_layout
Config:
* Added option for disabling icons in menus
* Added option for disabling pointer warping when performing directional focus changes using winlist

View File

@ -262,6 +262,16 @@ e_layout_unpack(Evas_Object *obj)
_e_layout_smart_disown(obj);
}
EAPI const Eina_List *
e_layout_children_get(Evas_Object *obj)
{
E_Smart_Data *sd;
if (evas_object_smart_smart_get(obj) != _e_smart) SMARTERRNR() NULL;
sd = evas_object_smart_data_get(obj);
return sd->items;
}
/* local subsystem functions */
static E_Layout_Item *
_e_layout_smart_adopt(E_Smart_Data *sd, Evas_Object *obj)

View File

@ -22,5 +22,7 @@ EAPI void e_layout_child_lower_below (Evas_Object *obj, Evas_Object *bel
EAPI void e_layout_child_geometry_get(Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h);
EAPI void e_layout_unpack (Evas_Object *obj);
EAPI const Eina_List *e_layout_children_get(Evas_Object *obj);
#endif
#endif