win: Add new API win_name_get (EO and legacy)

I see no reason to have a set and no get.

@feature
This commit is contained in:
Jean-Philippe Andre 2016-06-10 13:00:51 +09:00
parent 29132d3c25
commit 3bee499503
2 changed files with 7 additions and 0 deletions

View File

@ -4237,6 +4237,12 @@ _efl_ui_win_name_set(Eo *obj, Efl_Ui_Win_Data *sd, const char *name)
sd->name = eina_stringshare_add(name);
}
EOLIAN static const char *
_efl_ui_win_name_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd)
{
return sd->name;
}
EOLIAN static void
_efl_ui_win_noblank_set(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *pd, Eina_Bool noblank)
{

View File

@ -567,6 +567,7 @@ class Efl.Ui.Win (Elm.Widget, Elm.Interface.Atspi.Window,
[[Can only be used at creation time, within \@ref eo_add.]]
legacy: null;
}
get {}
values {
name: string @nullable;
}