elm_win: Disable legacy for name and type set

Those are only valid during eo_add, before finalize.
Both of these are constructors.
This commit is contained in:
Jean-Philippe Andre 2016-06-07 20:36:40 +09:00
parent b49785c6c4
commit 1aceb3bc19
1 changed files with 3 additions and 1 deletions

View File

@ -564,12 +564,13 @@ class Elm.Win (Elm.Widget, Elm.Interface.Atspi.Window,
*/
set {
[[Can only be used at creation time, within \@ref eo_add.]]
legacy: null;
}
values {
name: string @nullable;
}
}
@property type { /* FIXME: before finalize */
@property type {
[[The type of the window.
It is a hint of how the Window Manager should handle it.
@ -587,6 +588,7 @@ class Elm.Win (Elm.Widget, Elm.Interface.Atspi.Window,
*/
set {
[[Can only be used at creation time, within \@ref eo_add.]]
legacy: null;
}
get {
[[If the object is not window object, return #ELM_WIN_UNKNOWN.]]