summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_panel.eo
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2016-03-23 12:56:14 -0700
committerCedric BAIL <cedric@osg.samsung.com>2016-03-23 13:24:41 -0700
commitc2a1c49ab2042f559b28e840e54feb8494888e0e (patch)
treec6eb110b7c479499854eede9d0c3ab0a80c9a11a /src/lib/elementary/elm_panel.eo
parent9340855597e7e465435c69b6278650346688da14 (diff)
elementary: move all legacy files to their expected new location.
Diffstat (limited to 'src/lib/elementary/elm_panel.eo')
-rw-r--r--src/lib/elementary/elm_panel.eo88
1 files changed, 88 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_panel.eo b/src/lib/elementary/elm_panel.eo
new file mode 100644
index 0000000000..e6c64a2a65
--- /dev/null
+++ b/src/lib/elementary/elm_panel.eo
@@ -0,0 +1,88 @@
1enum Elm.Panel.Orient
2{
3 [[Panel orientation mode]]
4
5 top, [[Panel (dis)appears from the top]]
6 bottom, [[Panel (dis)appears from the bottom]]
7 left, [[Panel (dis)appears from the left]]
8 right [[Panel (dis)appears from the right]]
9}
10
11class Elm.Panel (Elm.Layout, Elm.Interface_Scrollable,
12 Elm.Interface_Atspi_Widget_Action)
13{
14 eo_prefix: elm_obj_panel;
15 methods {
16 @property orient {
17 set {
18 [[Set the orientation of the panel
19
20 Set from where the panel will (dis)appear.
21 ]]
22 }
23 get {
24 [[Get the orientation of the panel.]]
25 }
26 values {
27 orient: Elm.Panel.Orient(Elm.Panel.Orient.left); [[The panel orientation.]]
28 }
29 }
30 @property hidden {
31 set {
32 [[Set the state of the panel.]]
33 }
34 get {
35 [[Get the state of the panel.]]
36 }
37 values {
38 hidden: bool; [[If true, the panel will run the animation to disappear.]]
39 }
40 }
41 @property scrollable {
42 set {
43 [[Set the scrollability of the panel.]]
44 }
45 get {
46 [[Get the state of the scrollability.
47
48 @since 1.12
49 ]]
50 }
51 values {
52 scrollable: bool; [[The scrollable state.]]
53 }
54 }
55 @property scrollable_content_size {
56 set {
57 [[Set the size of the scrollable panel.]]
58 }
59 values {
60 ratio: double;
61 }
62 }
63 toggle {
64 [[Toggle the hidden state of the panel from code]]
65 }
66 }
67 implements {
68 class.constructor;
69 Eo.Base.constructor;
70 Evas.Object_Smart.add;
71 Evas.Object_Smart.member_add;
72 Evas.Object_Smart.del;
73 Evas.Object_Smart.resize;
74 Evas.Object_Smart.move;
75 Elm.Widget.theme_apply;
76 Elm.Widget.focus_next_manager_is;
77 Elm.Widget.focus_next;
78 Elm.Widget.disable;
79 Elm.Widget.access;
80 Elm.Widget.event;
81 Elm.Widget.on_focus_region;
82 Elm.Container.content_get;
83 Elm.Container.content_unset;
84 Elm.Container.content_set;
85 Elm.Layout.sizing_eval;
86 Elm.Interface_Atspi_Widget_Action.elm_actions.get;
87 }
88}