summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-01-24 17:06:14 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-01-26 11:42:09 +0100
commit5a37aebc32f6b1bbca14d7bd9751de98b0614f13 (patch)
treea863db116ca491d5c368b2606d5632557bd87542
parent37c115542c6d723f3aa03af92dacbcdd400b8e4d (diff)
efl_ui_tab_page: implement missing api
unset is now implemented, and is mirrored to the main object, just like in the setter above. Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D7760
Diffstat (limited to '')
-rw-r--r--src/lib/elementary/efl_ui_tab_page.c7
-rw-r--r--src/lib/elementary/efl_ui_tab_page.eo1
2 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_tab_page.c b/src/lib/elementary/efl_ui_tab_page.c
index 361ccd6371..8023115c3d 100644
--- a/src/lib/elementary/efl_ui_tab_page.c
+++ b/src/lib/elementary/efl_ui_tab_page.c
@@ -26,6 +26,13 @@ _efl_ui_tab_page_efl_content_content_set(Eo *obj, Efl_Ui_Tab_Page_Data *sd, Eo *
26 return EINA_TRUE; 26 return EINA_TRUE;
27} 27}
28 28
29EOLIAN static Efl_Gfx_Entity*
30_efl_ui_tab_page_efl_content_content_unset(Eo *obj, Efl_Ui_Tab_Page_Data *pd EINA_UNUSED)
31{
32 return efl_content_unset(efl_part(obj, "efl.content"));
33}
34
35
29EOLIAN static Eo * 36EOLIAN static Eo *
30_efl_ui_tab_page_efl_content_content_get(const Eo *obj EINA_UNUSED, Efl_Ui_Tab_Page_Data *sd) 37_efl_ui_tab_page_efl_content_content_get(const Eo *obj EINA_UNUSED, Efl_Ui_Tab_Page_Data *sd)
31{ 38{
diff --git a/src/lib/elementary/efl_ui_tab_page.eo b/src/lib/elementary/efl_ui_tab_page.eo
index e5468dd027..9f2e4c0664 100644
--- a/src/lib/elementary/efl_ui_tab_page.eo
+++ b/src/lib/elementary/efl_ui_tab_page.eo
@@ -20,6 +20,7 @@ class Efl.Ui.Tab_Page extends Efl.Ui.Layout implements Efl.Content
20 Efl.Object.constructor; 20 Efl.Object.constructor;
21 Efl.Object.destructor; 21 Efl.Object.destructor;
22 Efl.Content.content { get; set; } 22 Efl.Content.content { get; set; }
23 Efl.Content.content_unset;
23 Efl.Part.part_get; 24 Efl.Part.part_get;
24 } 25 }
25 events { 26 events {