EAPI Evas_Object *
elm_panes_content_left_unset(Evas_Object *obj)
{
- ELM_CHECK_WIDTYPE(obj, widtype) NULL;
- Widget_Data *wd;
- Evas_Object *content;
-
- wd = elm_widget_data_get(obj);
-
- content = edje_object_part_swallow_get(wd->panes, "elm.swallow.left");
- if(!content) return NULL;
- edje_object_part_unswallow(wd->panes, content);
- elm_widget_sub_object_del(obj, content);
- wd->contents.left = NULL;
- edje_object_signal_emit(wd->panes, "panes_unpair", "elm");
- return content;
+ ELM_CHECK_WIDTYPE(obj, widtype) NULL;
+ Widget_Data *wd;
+ Evas_Object *content;
+
+ wd = elm_widget_data_get(obj);
+
+ content = edje_object_part_swallow_get(wd->panes, "elm.swallow.left");
+ if(!content) return NULL;
+ edje_object_part_unswallow(wd->panes, content);
+ elm_widget_sub_object_del(obj, content);
+ evas_object_hide(content);
+ wd->contents.left = NULL;
+ edje_object_signal_emit(wd->panes, "panes_unpair", "elm");
+ return content;
}
/**
EAPI Evas_Object *
elm_panes_content_right_unset(Evas_Object *obj)
{
- ELM_CHECK_WIDTYPE(obj, widtype) NULL;
- Widget_Data *wd;
- Evas_Object *content;
-
- wd = elm_widget_data_get(obj);
-
- content = edje_object_part_swallow_get(wd->panes, "elm.swallow.right");
- if(!content) return NULL;
- edje_object_part_unswallow(wd->panes, content);
- elm_widget_sub_object_del(obj, content);
- wd->contents.right = NULL;
- edje_object_signal_emit(wd->panes, "panes_unpair", "elm");
- return content;
+ ELM_CHECK_WIDTYPE(obj, widtype) NULL;
+ Widget_Data *wd;
+ Evas_Object *content;
+
+ wd = elm_widget_data_get(obj);
+
+ content = edje_object_part_swallow_get(wd->panes, "elm.swallow.right");
+ if(!content) return NULL;
+ edje_object_part_unswallow(wd->panes, content);
+ elm_widget_sub_object_del(obj, content);
+ evas_object_hide(content);
+ wd->contents.right = NULL;
+ edje_object_signal_emit(wd->panes, "panes_unpair", "elm");
+ return content;
}
/**