summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_list.eo
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2017-12-12 22:59:48 -0200
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2017-12-13 14:13:09 -0200
commitfd92dec358bf6d98b4b334e938140049b6f5f12e (patch)
tree524a928aaf65e4ff25b2c2948c67885961de004f /src/lib/elementary/efl_ui_list.eo
parente747e1ec2a4991ff53c854327ee66033686d7503 (diff)
elementary: Add efl_ui_list widget
Diffstat (limited to 'src/lib/elementary/efl_ui_list.eo')
-rw-r--r--src/lib/elementary/efl_ui_list.eo108
1 files changed, 108 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_list.eo b/src/lib/elementary/efl_ui_list.eo
new file mode 100644
index 0000000..e484b38
--- /dev/null
+++ b/src/lib/elementary/efl_ui_list.eo
@@ -0,0 +1,108 @@
1import elm_general;
2
3struct Efl.Ui.List.Item_Event
4{
5 layout: Efl.Ui.Layout;
6 child: Efl.Model;
7 index: int;
8}
9class Efl.Ui.List (Efl.Ui.Layout, Efl.Ui.View, Elm.Interface_Scrollable,
10 Efl.Access.Widget.Action, Efl.Access.Selection,
11 Efl.Ui.Clickable, Efl.Ui.Selectable, Efl.Ui.List.Model)
12{
13 methods {
14 @property relayout {
15 values {
16 object: Efl.Ui.List.Relayout;
17 }
18 }
19 @property homogeneous {
20 get {
21 [[Get whether the homogeneous mode is enabled.]]
22 }
23 set {
24 [[Enable/disable homogeneous mode.]]
25 }
26 values {
27 homogeneous: bool; [[Assume the items within the genlist are of
28 the same height and width. Default is $false.]]
29 }
30 }
31 @property select_mode {
32 [[Listview select mode.]]
33 get {}
34 set {}
35 values {
36 mode: Elm.Object.Select_Mode(Elm.Object.Select_Mode.max); [[The select mode.]]
37 }
38 }
39 @property default_style {
40 values {
41 style: stringshare;
42 }
43 }
44 @property layout_factory {
45 [[Listview layout factory set.]]
46 set {}
47 values {
48 factory: Efl.Ui.Factory; [[The factory.]]
49 }
50 }
51 }
52 events {
53 item,realized : Efl.Ui.List.Item_Event;
54 item,unrealized : Efl.Ui.List.Item_Event;
55 item,focused : Efl.Ui.List.Item_Event;
56 item,unfocused : Efl.Ui.List.Item_Event;
57 item,highlighted : Efl.Ui.List.Item_Event;
58 item,unhighlighted : Efl.Ui.List.Item_Event;
59 item,selected : Efl.Ui.List.Item_Event;
60 item,unselected : Efl.Ui.List.Item_Event;
61 }
62
63 implements {
64 Efl.Object.constructor;
65 Efl.Object.finalize;
66 Efl.Object.destructor;
67 Efl.Gfx.position { set; }
68 Efl.Gfx.size { set; }
69 // Smart obj
70 Efl.Canvas.Group.group_member_add;
71 Efl.Canvas.Group.group_calculate;
72
73 Efl.Ui.List.Model.load_range { set;}
74 Efl.Ui.List.Model.realize;
75 Efl.Ui.List.Model.unrealize;
76 Efl.Ui.List.Model.size { get; }
77 Efl.Ui.List.Model.min_size { get; set; }
78
79 // Widget
80// Elm.Widget.focus_next_manager_is;
81// Elm.Widget.focus_direction_manager_is;
82// Elm.Widget.focus_register;
83// Elm.Widget.focus_next;
84// Elm.Widget.on_focus_update;
85// Elm.Widget.activate;
86// Elm.Widget.focused_item { get; }
87// Elm.Widget.focused_object { get; }
88 Elm.Widget.focus_manager_create;
89 Elm.Widget.widget_event;
90
91// Efl.Ui.Focus.Manager.focus {set; }
92 //Efl.Ui.Layout.sizing_eval;
93 Efl.Ui.View.model { get; set; }
94
95 Elm.Interface_Scrollable.region_bring_in;
96// Elm.Interface.Atspi_Accessible.children { get; }
97// Elm.Interface.Atspi_Widget_Action.elm_actions { get; }
98// Efl.Access.Widget.Action.elm_actions { get; }
99 Efl.Access.Selection.selected_children_count { get; }
100 Efl.Access.Selection.selected_child { get; }
101 Efl.Access.Selection.selected_child_deselect;
102 Efl.Access.Selection.child_select;
103 Efl.Access.Selection.child_deselect;
104 Efl.Access.Selection.is_child_selected;
105 Efl.Access.Selection.all_children_select;
106 Efl.Access.Selection.clear;
107 }
108}