summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_list.eo
blob: 14b8c49564d7c5909500f58f243e873408f12385 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
struct Efl.Ui.List.Item_Event
{
   layout: Elm.Layout;
   child: Efl.Model;
   index: int;
}

class Efl.Ui.List (Elm.Layout, Efl.Ui.View, Elm.Interface_Scrollable,
                Elm.Interface.Atspi_Widget_Action, Elm.Interface.Atspi.Selection,
                Efl.Ui.Clickable, Efl.Ui.Selectable)
{
   methods {
      @property homogeneous {
         get {
           [[Get whether the homogeneous mode is enabled.]]
         }
         set {
           [[Enable/disable homogeneous mode.]]
         }
         values {
            homogeneous: bool; [[Assume the items within the genlist are of
                                 the same height and width. Default is $false.]]
         }
      }
      @property select_mode {
         [[Listview select mode.]]
         get {}
         set {}
         values {
            mode: Elm.Object.Select_Mode(Elm.Object.Select_Mode.max); [[The select mode.]]
         }
      }
      @property default_style {
         values {
            style: stringshare;
         }
      }
      @property layout_factory {
         [[Listview layout factory set.]]
         set {}
         values {
            factory: Efl.Ui.Factory; [[The factory.]]
         }
      }
   }
   events {
      item,realized : Efl.Ui.List.Item_Event;
      item,unrealized : Efl.Ui.List.Item_Event;
      item,focused : Efl.Ui.List.Item_Event;
      item,unfocused : Efl.Ui.List.Item_Event;
      item,highlighted : Efl.Ui.List.Item_Event;
      item,unhighlighted : Efl.Ui.List.Item_Event;
      item,selected : Efl.Ui.List.Item_Event;
      item,unselected : Efl.Ui.List.Item_Event;
   }

   implements {
      Efl.Object.constructor;
      Efl.Object.destructor;
      Efl.Gfx.position { set; }
      Efl.Gfx.size { set; }
      // Smart obj
      Efl.Canvas.Group.group_member_add;
      Efl.Canvas.Group.group_calculate;

      // Widget
      Elm.Widget.theme_apply;
//      Elm.Widget.focus_next_manager_is;
//      Elm.Widget.focus_direction_manager_is;
//      Elm.Widget.focus_register;
//      Elm.Widget.focus_next;
      Elm.Widget.on_focus;
//      Elm.Widget.activate;
//      Elm.Widget.focused_item { get; }
//      Elm.Widget.focused_object { get; }
      Elm.Widget.focus_manager_factory;
      Elm.Widget.widget_event;

      Elm.Layout.sizing_eval;
      Efl.Ui.View.model { get; set; }

      Elm.Interface_Scrollable.region_bring_in;
      Elm.Interface.Atspi_Accessible.children { get; }
      Elm.Interface.Atspi_Widget_Action.elm_actions { get; }
      Elm.Interface.Atspi.Selection.selected_children_count { get; }
      Elm.Interface.Atspi.Selection.selected_child { get; }
      Elm.Interface.Atspi.Selection.selected_child_deselect;
      Elm.Interface.Atspi.Selection.child_select;
      Elm.Interface.Atspi.Selection.child_deselect;
      Elm.Interface.Atspi.Selection.is_child_selected;
      Elm.Interface.Atspi.Selection.all_children_select;
      Elm.Interface.Atspi.Selection.clear;
   }
}