summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_grid.eo
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-11-20 12:36:02 +0000
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-11-25 13:31:24 +0100
commitf7868fd28cfc2a941601cd11e4598abf77e17c6c (patch)
treeb63288cbe76988f6b3bf387b63d9673179c2524b /src/lib/elementary/efl_ui_grid.eo
parent3b743715a0812a426602e885ca3ce55c32407c35 (diff)
efl_ui_multi_selectable: clean this up
this commit merges common functions from efl_ui_multi_selectable and efl_ui_multi_selectable_async. Additionally, the two different aspects of accessing the elements in a multi_selectable widget (numerical or object based) are now abstracted into interfaces called range_numeric and range_object. numeric APIs are also prefixed with id's, so its possible for one widget to implement both (if there will ever be the demand to do that in future). The main reason for this split is: - there is no good common path between mvvm based multi_selectable and object based multi_Selectable, so there is no way that both sides would benefit, without the other one suffering. - If we find later on the demand to implement both on one widget, we now can fully do that - Common API is available for both types, so its less API and less confusion for the API user. ref T7871 ref T8265 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D10675
Diffstat (limited to 'src/lib/elementary/efl_ui_grid.eo')
-rw-r--r--src/lib/elementary/efl_ui_grid.eo2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_grid.eo b/src/lib/elementary/efl_ui_grid.eo
index d461760eda..ad4a4aee68 100644
--- a/src/lib/elementary/efl_ui_grid.eo
+++ b/src/lib/elementary/efl_ui_grid.eo
@@ -8,7 +8,7 @@ class Efl.Ui.Grid extends Efl.Ui.Collection
8 @Efl.Ui.Layout_Orientable.orientation. 8 @Efl.Ui.Layout_Orientable.orientation.
9 9
10 Items inside this widget can be selected according to the @Efl.Ui.Multi_Selectable.select_mode 10 Items inside this widget can be selected according to the @Efl.Ui.Multi_Selectable.select_mode
11 policy, and the selection can be retrieved with @Efl.Ui.Multi_Selectable.selected_iterator_new. 11 policy, and the selection can be retrieved with @Efl.Ui.Multi_Selectable_Object_Range.selected_iterator_new.
12 12
13 @Efl.Ui.Grid supports grouping by using @Efl.Ui.Group_Item objects. 13 @Efl.Ui.Grid supports grouping by using @Efl.Ui.Group_Item objects.
14 Group headers are displayed at the top of the viewport if items belonging to the group 14 Group headers are displayed at the top of the viewport if items belonging to the group