summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_view_list_segarray.eo
blob: 8b09e2fa2f1e8a40fd84bc9fa33f257c4a3a3c7e (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
import elm_general;
import efl_ui_view_list_types;

class Efl.Ui.View_List_SegArray (Efl.Object)
{
   methods {
      @property accessor {
         get {
            [[ Get a SegArray List items accessor ]]
         }
         values {
             acc: accessor<ptr(Efl.Ui.View.List.LayoutItem)>;
         }
      }
      @property node_accessor {
         get {
            [[ Get a SegArray node accessor ]]
         }
         values {
             acc: accessor<ptr(Efl.Ui.View.List.SegArray.Node)>;
         }
      }
      insert_value {
         [[ Insert a accessor in segarray tree ]]
          params {
              @in first: int;
              @in v: any_value;
          }
      }
      count {
         [[ Get the number of items in SegArray tree ]]
         return: int;
      }
      setup {
         [[ Configure a step of SegArray tree, this is the max node size ]]
          params {
              @in initial_step_size: int;
          }
      }
      flush {
         [[ flush the SegArray tree ]]
      }
      insert {
         [[ Insert a new model in SegArray tree at index position ]]
          params {
              @in index: int;
              @in model: Efl.Model;
          }
      }
      remove {
         [[ Remove the item at index position in SegArray tree ]]
          params {
              @in index: int;
          }
          return: ptr(Efl.Ui.View.List.LayoutItem) @owned;
      }
   }
   implements {
      Efl.Object.constructor;
      Efl.Object.destructor;
   }
}