forked from enlightenment/efl
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:
parent
29132d3c25
commit
3bee499503
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue