summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-06-10 13:00:51 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-06-10 13:21:16 +0900
commit3bee4995033d220117f4f31493470e4d0db1487a (patch)
treeb254c0a8d5b4ef5e67483bf44c79eba9834c5a86
parent29132d3c2567a804a9b3c527de95a2fdc0587551 (diff)
win: Add new API win_name_get (EO and legacy)
I see no reason to have a set and no get. @feature
-rw-r--r--src/lib/elementary/efl_ui_win.c6
-rw-r--r--src/lib/elementary/efl_ui_win.eo1
2 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index ec77ab44e5..0be431f04d 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -4237,6 +4237,12 @@ _efl_ui_win_name_set(Eo *obj, Efl_Ui_Win_Data *sd, const char *name)
4237 sd->name = eina_stringshare_add(name); 4237 sd->name = eina_stringshare_add(name);
4238} 4238}
4239 4239
4240EOLIAN static const char *
4241_efl_ui_win_name_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd)
4242{
4243 return sd->name;
4244}
4245
4240EOLIAN static void 4246EOLIAN static void
4241_efl_ui_win_noblank_set(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *pd, Eina_Bool noblank) 4247_efl_ui_win_noblank_set(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *pd, Eina_Bool noblank)
4242{ 4248{
diff --git a/src/lib/elementary/efl_ui_win.eo b/src/lib/elementary/efl_ui_win.eo
index dcc04ff79d..565b5ce040 100644
--- a/src/lib/elementary/efl_ui_win.eo
+++ b/src/lib/elementary/efl_ui_win.eo
@@ -567,6 +567,7 @@ class Efl.Ui.Win (Elm.Widget, Elm.Interface.Atspi.Window,
567 [[Can only be used at creation time, within \@ref eo_add.]] 567 [[Can only be used at creation time, within \@ref eo_add.]]
568 legacy: null; 568 legacy: null;
569 } 569 }
570 get {}
570 values { 571 values {
571 name: string @nullable; 572 name: string @nullable;
572 } 573 }