summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_win.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-10-16 20:58:46 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-10-17 17:31:38 +0900
commitb5c241ca084b163fa5704e03fe5ba8781333b834 (patch)
treeddd73efd7f80685926b62e3dcd6c6b705a96f024 /src/lib/elementary/efl_ui_win.c
parentc9c9e6a20900db1cf5434d5968c7b55725fc46a1 (diff)
frame: Implement content set/get/unset
Not a huge fan of my macro as it uses efl_part() where a direct call could be possible, depending on the widget (win can, frame can't). See D5241
Diffstat (limited to '')
-rw-r--r--src/lib/elementary/efl_ui_win.c21
1 files changed, 1 insertions, 20 deletions
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index 79ca364c5d..17819923bb 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -6992,26 +6992,6 @@ _efl_ui_win_part_file_get(Eo *obj, Efl_Ui_Win_Data *sd, const char *part, const
6992 return EINA_FALSE; 6992 return EINA_FALSE;
6993} 6993}
6994 6994
6995/* Default content */
6996
6997EOLIAN static Eina_Bool
6998_efl_ui_win_efl_container_content_set(Eo *obj, Efl_Ui_Win_Data *sd, Evas_Object *content)
6999{
7000 return _efl_ui_win_content_set(obj, sd, "content", content);
7001}
7002
7003EOLIAN static Evas_Object*
7004_efl_ui_win_efl_container_content_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd)
7005{
7006 return _efl_ui_win_content_get(obj, sd, "content");
7007}
7008
7009EOLIAN static Evas_Object*
7010_efl_ui_win_efl_container_content_unset(Eo *obj, Efl_Ui_Win_Data *sd)
7011{
7012 return _efl_ui_win_content_unset(obj, sd, "content");
7013}
7014
7015/* Efl.Part begin */ 6995/* Efl.Part begin */
7016 6996
7017static void 6997static void
@@ -7058,6 +7038,7 @@ ELM_PART_OVERRIDE_CONTENT_SET(efl_ui_win, EFL_UI_WIN, Efl_Ui_Win_Data)
7058ELM_PART_OVERRIDE_CONTENT_GET(efl_ui_win, EFL_UI_WIN, Efl_Ui_Win_Data) 7038ELM_PART_OVERRIDE_CONTENT_GET(efl_ui_win, EFL_UI_WIN, Efl_Ui_Win_Data)
7059ELM_PART_OVERRIDE_CONTENT_UNSET(efl_ui_win, EFL_UI_WIN, Efl_Ui_Win_Data) 7039ELM_PART_OVERRIDE_CONTENT_UNSET(efl_ui_win, EFL_UI_WIN, Efl_Ui_Win_Data)
7060ELM_PART_CONTENT_DEFAULT_SET(efl_ui_win, "content") 7040ELM_PART_CONTENT_DEFAULT_SET(efl_ui_win, "content")
7041ELM_PART_CONTENT_DEFAULT_IMPLEMENT(efl_ui_win, Efl_Ui_Win_Data)
7061#include "efl_ui_win_part.eo.c" 7042#include "efl_ui_win_part.eo.c"
7062 7043
7063/* Efl.Part end */ 7044/* Efl.Part end */