forked from enlightenment/efl
elementary: Fix declaration of CV managers getters
This should convey better their intention of the setting taking ownership of the passed value and the getter returning just a view to them. Fixes T8514 Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10824
This commit is contained in:
parent
519430e204
commit
4398ec7b3b
|
@ -53,6 +53,12 @@ class Efl.Ui.Collection extends Efl.Ui.Layout_Base implements
|
||||||
}
|
}
|
||||||
@property position_manager @beta {
|
@property position_manager @beta {
|
||||||
[[Position manager object that handles placement of items.]]
|
[[Position manager object that handles placement of items.]]
|
||||||
|
get {
|
||||||
|
values {
|
||||||
|
position_manager : Efl.Ui.Position_Manager.Entity; [[A borrowed handle to the item container.]]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
set { }
|
||||||
values {
|
values {
|
||||||
position_manager : Efl.Ui.Position_Manager.Entity @move; [[Ownership is passed to the item container.]]
|
position_manager : Efl.Ui.Position_Manager.Entity @move; [[Ownership is passed to the item container.]]
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,6 +37,12 @@ class Efl.Ui.Collection_View extends Efl.Ui.Layout_Base implements
|
||||||
}
|
}
|
||||||
@property position_manager @beta {
|
@property position_manager @beta {
|
||||||
[[Position manager object that handles placement of items.]]
|
[[Position manager object that handles placement of items.]]
|
||||||
|
get {
|
||||||
|
values {
|
||||||
|
position_manager : Efl.Ui.Position_Manager.Entity; [[ A borrowed reference to the manager. ]]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
set { }
|
||||||
values {
|
values {
|
||||||
position_manager : Efl.Ui.Position_Manager.Entity @move; [[The objects ownership is passed to the item container.]]
|
position_manager : Efl.Ui.Position_Manager.Entity @move; [[The objects ownership is passed to the item container.]]
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,6 +32,12 @@ class @beta Efl.Ui.Spotlight.Container extends Efl.Ui.Widget implements Efl.Pack
|
||||||
[[This object defines how sub-widgets are rendered and animated.
|
[[This object defines how sub-widgets are rendered and animated.
|
||||||
If it is not set, only the active sub-widget is shown and transitions are instantaneous (not animated).
|
If it is not set, only the active sub-widget is shown and transitions are instantaneous (not animated).
|
||||||
]]
|
]]
|
||||||
|
get {
|
||||||
|
values {
|
||||||
|
spotlight_manager : Efl.Ui.Spotlight.Manager; [[The Spotlight Manager object or $NULL.]]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
set { }
|
||||||
values {
|
values {
|
||||||
spotlight_manager : Efl.Ui.Spotlight.Manager @move; [[The Spotlight Manager object or $NULL.]]
|
spotlight_manager : Efl.Ui.Spotlight.Manager @move; [[The Spotlight Manager object or $NULL.]]
|
||||||
}
|
}
|
||||||
|
@ -42,6 +48,12 @@ class @beta Efl.Ui.Spotlight.Container extends Efl.Ui.Widget implements Efl.Pack
|
||||||
When this object is set, it is immediately updated to reflect the current state of the widget.
|
When this object is set, it is immediately updated to reflect the current state of the widget.
|
||||||
Its location inside the container is controlled by the @.spotlight_manager.
|
Its location inside the container is controlled by the @.spotlight_manager.
|
||||||
]]
|
]]
|
||||||
|
get {
|
||||||
|
values {
|
||||||
|
indicator : Efl.Ui.Spotlight.Indicator; [[The Indicator object or $NULL.]]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
set { }
|
||||||
values {
|
values {
|
||||||
indicator : Efl.Ui.Spotlight.Indicator @move; [[The Indicator object or $NULL.]]
|
indicator : Efl.Ui.Spotlight.Indicator @move; [[The Indicator object or $NULL.]]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue