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:
Lauro Moura 2019-12-06 14:57:52 +00:00 committed by Marcel Hollerbach
parent 519430e204
commit 4398ec7b3b
3 changed files with 24 additions and 0 deletions

View File

@ -53,6 +53,12 @@ class Efl.Ui.Collection extends Efl.Ui.Layout_Base implements
}
@property position_manager @beta {
[[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 {
position_manager : Efl.Ui.Position_Manager.Entity @move; [[Ownership is passed to the item container.]]
}

View File

@ -37,6 +37,12 @@ class Efl.Ui.Collection_View extends Efl.Ui.Layout_Base implements
}
@property position_manager @beta {
[[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 {
position_manager : Efl.Ui.Position_Manager.Entity @move; [[The objects ownership is passed to the item container.]]
}

View File

@ -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.
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 {
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.
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 {
indicator : Efl.Ui.Spotlight.Indicator @move; [[The Indicator object or $NULL.]]
}