aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/efl_ui_grid.eo
blob: 7f92c0dc9f30fbbd48c1c52f37b3c2c380a9c026 (plain) (blame)
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
95
96
import efl_ui_grid_item;

class Efl.Ui.Grid (Efl.Ui.Layout,
                   Efl.Ui.Scrollable_Interactive,
                   Efl.Ui.Scrollbar,
                   Efl.Pack_Linear, Efl.Pack_Layout,
                   Efl.Ui.Direction,
                   Efl.Ui.Clickable,
                   Efl.Ui.Selectable,
                   Efl.Ui.Multi_Selectable)
{
   [[Simple grid widget with Pack interface.]]
   methods {
      @property item_size {
         [[Property data of item size.]]
         set {}
         get {}
         values {
            size: Eina.Size2D; [[last selected item of grid.]]
         }
      }
      item_scroll {
         [[scroll move the item to show in the viewport.]]
         params {
            @in item: Efl.Ui.Grid_Item; [[Target item.]]
            @in animation: bool; [[Boolean value for animation of scroll move.]]
         }
      }
      item_scroll_align {
         [[scroll move the item to show at the align position of the viewport.]]
         params {
            @in item: Efl.Ui.Grid_Item; [[Target item.]]
            @in align: double; [[align value in Viewport.]]
            @in animation: bool; [[Boolean value for animation of scroll move.]]
         }
      }
      @property last_selected_item {
         [[Property data of last selected item.]]
         get {}
         values {
            item: Efl.Ui.Grid_Item; [[last selected item of grid.]]
         }
      }
      selected_items_get {
         [[Get the selected items iterator. The iterator sequence will be decided by selection.]]
         return: iterator<Efl.Ui.Grid_Item> @owned @warn_unused; [[Iterator covered by selected items list.
                                                                   user have to free the iterator after used.]]
      }
   }
   implements {
      //Efl.Object
      Efl.Object.constructor;
      Efl.Object.finalize;
      Efl.Object.destructor;
      Efl.Object.invalidate;

      //Efl.Canvas
      Efl.Canvas.Group.group_calculate;
      //Efl.Container
      Efl.Container.content_iterate;
      Efl.Container.content_count;

      Efl.Ui.Direction.direction { get; set; }

      //Efl.Ui.Widget
      Efl.Ui.Widget.theme_apply;

      //Efl.Ui.Focus
      //Efl.Ui.Focus.Object.on_focus_update;

      //Efl.Pack
      Efl.Pack.pack_clear;
      Efl.Pack.unpack_all;
      Efl.Pack.unpack;
      Efl.Pack.pack;
      Efl.Pack_Linear.pack_end;

      Efl.Pack_Linear.pack_begin;
      Efl.Pack_Linear.pack_before;
      Efl.Pack_Linear.pack_after;
      Efl.Pack_Linear.pack_at;
      Efl.Pack_Linear.pack_unpack_at;
      Efl.Pack_Linear.pack_index_get;
      Efl.Pack_Linear.pack_content_get;
      Efl.Pack_Layout.layout_update;
      Efl.Pack_Layout.layout_request;
      Efl.Pack.pack_padding { get; set; }
      Efl.Pack.pack_align { get; set; }

      //Efl.Ui.Scrollable
      Efl.Ui.Scrollable_Interactive.match_content { set; }

      //Efl.Ui.Multi_Selectable
      Efl.Ui.Multi_Selectable.select_mode {get; set;}
   }
}