aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/efl_ui_box.eo
blob: fd5ea515bbb37dcd2c853d27265861e54fe710da (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
class @beta Efl.Ui.Box extends Efl.Ui.Widget implements Efl.Pack_Linear, Efl.Pack_Layout,
                  Efl.Ui.Direction, Efl.Gfx.Arrangement
{
   [[The box widget.

     A box arranges objects in a linear fashion, governed by a layout function
     that defines the details of this arrangement.

     By default, the box will use an internal function to set the layout to
     a single row, either vertical or horizontal. This layout is affected
     by a number of parameters. The values given by @Efl.Gfx.Arrangement.content_padding.set
     and @Efl.Gfx.Arrangement.content_align.set and the hints set to each object in the box.

     FIXME:
     THIS CLASS NEEDS GOOD UP TO DATE DOCUMENTATION. LEGACY BOX AND UI BOX
     BEHAVE SLIGHTLY DIFFERENTLY AND USE VASTLY DIFFERENT APIS.
   ]]
   methods {
      @property homogeneous {
         [[Control homogeneous mode.

           This will enable the homogeneous mode where children are of the same
           weight and of the same min size which is determined by maximum min
           size of children.]]
         values {
            homogeneous: bool; [[$true if the box is homogeneous, $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_Linear.pack_begin;
      Efl.Pack_Linear.pack_end;
      Efl.Pack_Linear.pack_before;
      Efl.Pack_Linear.pack_after;
      Efl.Pack_Linear.pack_at;
      Efl.Pack_Linear.pack_content_get;
      Efl.Pack_Linear.pack_unpack_at;
      Efl.Pack_Linear.pack_index_get;
      Efl.Pack_Layout.layout_update;
      Efl.Pack_Layout.layout_request;
   }
}