summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2019-12-06 14:57:52 +0000
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-12-06 16:55:09 +0100
commit4398ec7b3bdec90abbef5765d1b0521ae35ef2f7 (patch)
treedd018c895012947d4c822df9c638d6451baf9a1b
parent519430e204c65fdd8de02e2e9518e8ac0d4cff69 (diff)
downloadefl-4398ec7b3bdec90abbef5765d1b0521ae35ef2f7.tar.gz
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
-rw-r--r--src/lib/elementary/efl_ui_collection.eo6
-rw-r--r--src/lib/elementary/efl_ui_collection_view.eo6
-rw-r--r--src/lib/elementary/efl_ui_spotlight_container.eo12
3 files changed, 24 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_collection.eo b/src/lib/elementary/efl_ui_collection.eo
index 342feea116..4a5a440002 100644
--- a/src/lib/elementary/efl_ui_collection.eo
+++ b/src/lib/elementary/efl_ui_collection.eo
@@ -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.]]
}
diff --git a/src/lib/elementary/efl_ui_collection_view.eo b/src/lib/elementary/efl_ui_collection_view.eo
index 65a1ee9e62..669554db29 100644
--- a/src/lib/elementary/efl_ui_collection_view.eo
+++ b/src/lib/elementary/efl_ui_collection_view.eo
@@ -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.]]
}
diff --git a/src/lib/elementary/efl_ui_spotlight_container.eo b/src/lib/elementary/efl_ui_spotlight_container.eo
index 860d1beb71..857f2655e1 100644
--- a/src/lib/elementary/efl_ui_spotlight_container.eo
+++ b/src/lib/elementary/efl_ui_spotlight_container.eo
@@ -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.]]
}