Unpack function for Elementary box.

SVN revision: 42585
This commit is contained in:
Daniel Kolesa 2009-09-20 13:01:25 +00:00
parent e8bf64d566
commit 03fe4c8f40
2 changed files with 17 additions and 0 deletions

View File

@ -299,6 +299,7 @@ extern "C" {
EAPI void elm_box_pack_before(Evas_Object *obj, Evas_Object *subobj, Evas_Object *before);
EAPI void elm_box_pack_after(Evas_Object *obj, Evas_Object *subobj, Evas_Object *after);
EAPI void elm_box_clear(Evas_Object *obj);
EAPI void elm_box_unpack(Evas_Object *obj);
/* smart callbacks called:
*/

View File

@ -238,3 +238,19 @@ elm_box_clear(Evas_Object *obj)
Widget_Data *wd = elm_widget_data_get(obj);
_els_smart_box_clear(wd->box);
}
/**
* This unpacks an item from the box
*
* This unpacks a single Evas_Object from the box.
*
* @param obj The box item
*
* @ingroup Box
*/
EAPI void
elm_box_unpack(Evas_Object *obj)
{
evas_object_hide(obj);
_els_smart_box_unpack(obj);
}