aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/efl_ui_table.eo
blob: 463508bfbd05979cabeda73a68bb84ace7941096 (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
class @beta Efl.Ui.Table extends Efl.Ui.Widget implements Efl.Pack_Table, Efl.Pack_Layout,
                   Efl.Ui.Direction, Efl.Gfx.Arrangement
{
   [[Widget container that arranges its elements in a grid.
   
     The amount of rows and columns can be controlled with @Efl.Pack_Table.table_rows
     and @Efl.Pack_Table.table_columns, and elements can be manually positioned with
     @Efl.Pack_Table.pack_table.
     Additionally, a fill direction can be defined with @Efl.Ui.Direction.direction and
     elements added with @Efl.Pack.pack. Elements are then added following this direction
     (horizontal or vertical) and when the amount of columns or rows has been reached,
     a step is taken in the orthogonal direction.
     In this second case there is no need to define both the amount of columns and rows,
     as the table will expand as needed.
     The default fill direction is @Efl.Ui.Dir.right.
   ]]
   methods {
      @property homogeneous {
         [[Control homogeneous mode.

           This will enable the homogeneous mode where cells are of the same
           weight and of the same min size which is determined by maximum min
           size of cells.]]
         values {
            homogeneoush : bool; [[$true if the box is homogeneous horizontally,
                                   $false otherwise]]
            homogeneousv : bool; [[$true if the box is homogeneous vertically,
                                   $false otherwise]]
         }
      }
   }
   implements {
      Efl.Object.constructor;
      Efl.Object.invalidate;
      Efl.Canvas.Group.group_calculate;
      Efl.Gfx.Entity.position { set; }
      Efl.Gfx.Entity.size { set; }
      Efl.Container.content_iterate;
      Efl.Container.content_count;
      Efl.Ui.Direction.direction { get; set; }
      Efl.Pack.pack_clear;
      Efl.Pack.unpack_all;
      Efl.Pack.unpack;
      Efl.Pack.pack;
      Efl.Gfx.Arrangement.content_padding { get; set; }
      Efl.Gfx.Arrangement.content_align { get; set; }
      Efl.Pack_Table.pack_table;
      Efl.Pack_Table.table_content_get;
      Efl.Pack_Table.table_contents_get;
      Efl.Pack_Table.table_position { get; }
      Efl.Pack_Table.table_size { get; set; }
      Efl.Pack_Table.table_columns { get; set; }
      Efl.Pack_Table.table_rows { get; set; }
      Efl.Pack_Layout.layout_update;
      Efl.Pack_Layout.layout_request;
   }
}