aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/elm_frame.eo
blob: 053f3495ee4808dce7a872ace8a40506cea1fd2d (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
class Elm.Frame (Elm.Layout, Efl.Ui.Clickable)
{
   legacy_prefix: elm_frame;
   eo_prefix: elm_obj_frame;
   event_prefix: elm_frame;
   methods {
      @property collapse {
         set {
            [[Manually collapse a frame without animations
              Use this to toggle the collapsed state of a frame, bypassing animations.
            ]]
         }
         get {
            [[Determine the collapse state of a frame
              Use this to determine the collapse state of a frame.
            ]]
         }
         values {
            collapse: bool; [[$true to collapse, $false to expand.]]
         }
      }
      @property autocollapse {
         set {
            [[Toggle autocollapsing of a frame
              When $enable is $true, clicking a frame's label will collapse the frame
              vertically, shrinking it to the height of the label.
              By default, this is DISABLED.
            ]]
         }
         get {
            [[Determine autocollapsing of a frame

              When this returns $true, clicking a frame's label will collapse the frame
              vertically, shrinking it to the height of the label.
              By default, this is DISABLED.
            ]]
         }
         values {
            autocollapse: bool; [[Whether to enable autocollapse.]]
         }
      }
      collapse_go {
         [[Manually collapse a frame with animations
           Use this to toggle the collapsed state of a frame, triggering animations.
         ]]
         params {
            @in collapse: bool; [[$true to collapse, $false to expand.]]
         }
      }
   }
   implements {
      Eo.Base.constructor;
      class.constructor;
      Efl.Canvas.Group.group_calculate;
      Efl.Canvas.Group.group_add;
      Elm.Widget.focus_direction;
      Elm.Widget.focus_next_manager_is;
      Elm.Widget.focus_next;
      Elm.Widget.focus_direction_manager_is;
      Elm.Layout.text_aliases.get;
      Elm.Layout.content_aliases.get;
   }
   events {
   }

}