summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_item.eo
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-08-05 18:35:13 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-08-05 19:49:12 +0200
commitfc12e7721fd2ea2b39f9a732522e744d43a66840 (patch)
tree8ae44eafc4cf14f9a5e84f50026c6ede41f9e279 /src/lib/elementary/efl_ui_item.eo
parent53649030db9a46dd7a25a2cc41bc1d7d7a1b2460 (diff)
efl_ui_selectable: split this up
i dont know why, but something got badly mixed up, the selection APIs for text and item ended up in the same interface, which seems ... weird ? This commit splits that up into container_selectable and text_selectable, there is no future plan on my list for text_selection. The rest of this series is working towards removing container_selectable, replacing it with a new interface. However, the interface will stay until list_view is replaced. The changes in the legacy code are removing the efl.ui.selection interface from it, item emission is not depending on the inherited interfaces, additionally, this interface does not provide any API, so this should not be an issue. ref T7766 Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D9498
Diffstat (limited to 'src/lib/elementary/efl_ui_item.eo')
-rw-r--r--src/lib/elementary/efl_ui_item.eo8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/elementary/efl_ui_item.eo b/src/lib/elementary/efl_ui_item.eo
index a2a7ad71fd..331f48a8e1 100644
--- a/src/lib/elementary/efl_ui_item.eo
+++ b/src/lib/elementary/efl_ui_item.eo
@@ -1,4 +1,4 @@
1abstract @beta Efl.Ui.Item extends Efl.Ui.Layout_Base implements Efl.Ui.Selectable, Efl.Input.Clickable 1abstract @beta Efl.Ui.Item extends Efl.Ui.Layout_Base implements Efl.Ui.Container_Selectable, Efl.Input.Clickable
2{ 2{
3 [[Selectable Item abstraction. 3 [[Selectable Item abstraction.
4 4
@@ -6,7 +6,7 @@ abstract @beta Efl.Ui.Item extends Efl.Ui.Layout_Base implements Efl.Ui.Selectab
6 like @Efl.Ui.List or @Efl.Ui.Grid, for example. 6 like @Efl.Ui.List or @Efl.Ui.Grid, for example.
7 @Efl.Ui.Item provides user interaction through the @Efl.Input.Clickable mixin. 7 @Efl.Ui.Item provides user interaction through the @Efl.Input.Clickable mixin.
8 Items can be pressed, long-pressed, etc, and appropriate events are generated. 8 Items can be pressed, long-pressed, etc, and appropriate events are generated.
9 @Efl.Ui.Item also implements the @Efl.Ui.Selectable interface, meaning that "selected" and 9 @Efl.Ui.Item also implements the @Efl.Ui.Container_Selectable interface, meaning that "selected" and
10 "unselected" events are automatically generated. 10 "unselected" events are automatically generated.
11 11
12 Classes inheriting from this one only need to deal with the visual representation of the widget. 12 Classes inheriting from this one only need to deal with the visual representation of the widget.
@@ -15,8 +15,8 @@ abstract @beta Efl.Ui.Item extends Efl.Ui.Layout_Base implements Efl.Ui.Selectab
15 Some events are converted to edje signals so the theme can react to them: 15 Some events are converted to edje signals so the theme can react to them:
16 @[Efl.Input.Clickable.pressed] -> "efl,state,pressed", 16 @[Efl.Input.Clickable.pressed] -> "efl,state,pressed",
17 @[Efl.Input.Clickable.unpressed] -> "efl,state,unpressed", 17 @[Efl.Input.Clickable.unpressed] -> "efl,state,unpressed",
18 @[Efl.Ui.Selectable.item,selected] -> "efl,state,selected", 18 @[Efl.Ui.Container_Selectable.item,selected] -> "efl,state,selected",
19 @[Efl.Ui.Selectable.item,unselected] -> "efl,state,unselected". 19 @[Efl.Ui.Container_Selectable.item,unselected] -> "efl,state,unselected".
20 ]] 20 ]]
21 methods { 21 methods {
22 @property index { 22 @property index {