summaryrefslogtreecommitdiff
path: root/src/lib/elm_panel.eo
blob: 3f37a3f38d9ba90a09de5c642d2d30a6effee45b (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
97
98
99
100
101
102
103
104
105
106
107
class Elm_Panel (Elm_Layout, Elm_Interface_Scrollable,
                 Elm_Interface_Atspi_Widget_Action)
{
   eo_prefix: elm_obj_panel;
   properties {
      orient {
         set {
            /*@
            @brief Sets the orientation of the panel

            Sets from where the panel will (dis)appear.

            @ingroup Panel */
         }
         get {
            /*@
            @brief Get the orientation of the panel.

            @return The Elm_Panel_Orient, or #ELM_PANEL_ORIENT_LEFT on failure.

            @ingroup Panel */
         }
         values {
            Elm_Panel_Orient orient; /*@ The panel orientation. Can be one of the following:
            @li #ELM_PANEL_ORIENT_TOP
            @li #ELM_PANEL_ORIENT_LEFT
            @li #ELM_PANEL_ORIENT_RIGHT */
         }
      }
      hidden {
         set {
            /*@
            @brief Set the state of the panel.

            @ingroup Panel */
         }
         get {
            /*@
            @brief Get the state of the panel.

            @return EINA_TRUE if it is hidden state

            @ingroup Panel */
         }
         values {
            bool hidden; /*@ If true, the panel will run the animation to disappear. */
         }
      }
      scrollable {
         set {
            /*@
            @brief Set the scrollability of the panel.

            @ingroup Panel */
         }
         values {
            bool scrollable;
         }
      }
      scrollable_content_size {
         set {
            /*@
            @brief Set the size of the scrollable panel.

            @ingroup Panel */
         }
         values {
            double ratio;
         }
      }
   }
   methods {
      toggle {
         /*@
         @brief Toggle the hidden state of the panel from code

         @ingroup Panel */

      }
   }
   implements {
      class.constructor;
      Eo.Base.constructor;
      Evas.Object_Smart.add;
      Evas.Object_Smart.member_add;
      Evas.Object_Smart.del;
      Evas.Object_Smart.resize;
      Evas.Object_Smart.move;
      Elm_Widget.theme_apply;
      Elm_Widget.focus_next_manager_is;
      Elm_Widget.focus_next;
      Elm_Widget.disable;
      Elm_Widget.access;
      Elm_Widget.event;
      Elm_Widget.on_focus_region;
      Elm_Container.content_get;
      Elm_Container.content_unset;
      Elm_Container.content_set;
      Elm_Layout.sizing_eval;
      Elm_Interface_Atspi_Widget_Action.elm_actions.get;
   }
   events {
      focused;
      unfocused;
   }

}