summaryrefslogtreecommitdiff
path: root/src/lib/elm_panel.eo
blob: ecc48fe9f4504d83d0f1ec84751b94cd1b3c5942 (plain)
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
class Elm_Panel (Elm_Layout)
{
   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 {
            Eina_Bool hidden; /*@ If true, the panel will run the animation to disappear. */
         }
      }
   }
   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.del;
      Elm_Widget.theme_apply;
      Elm_Widget.focus_next_manager_is;
      Elm_Widget.focus_next;
      Elm_Widget.access;
      Elm_Widget.event;
      Elm_Container.content_get;
      Elm_Container.content_unset;
      Elm_Container.content_set;
      Elm_Layout.sizing_eval;
   }
   events {
      focused;
      unfocused;
   }

}