summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_panes.eo
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2017-08-02 10:32:30 +0900
committerAmitesh Singh <amitesh.sh@samsung.com>2017-08-07 15:49:11 +0900
commit40945d985967e58d6e6c00ecfd6292a8d67b83b5 (patch)
treee468c603a885cf8a1b8c24b2f6456c53b493252a /src/lib/elementary/efl_ui_panes.eo
parentd954510b10a667b2d7feb5ab23d35b422000267a (diff)
elm: rename elm panes to Efl.Ui.Panes
Diffstat (limited to 'src/lib/elementary/efl_ui_panes.eo')
-rw-r--r--src/lib/elementary/efl_ui_panes.eo129
1 files changed, 129 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_panes.eo b/src/lib/elementary/efl_ui_panes.eo
new file mode 100644
index 0000000000..f9baf93e0c
--- /dev/null
+++ b/src/lib/elementary/efl_ui_panes.eo
@@ -0,0 +1,129 @@
1class Efl.Ui.Panes (Elm.Layout, Efl.Orientation,
2 Efl.Ui.Clickable)
3{
4 [[Elementary panes class]]
5 legacy_prefix: elm_panes;
6 event_prefix: elm_panes;
7 methods {
8 @property content_left_size {
9 [[Set the size proportion of panes widget's left side.
10
11 By default it's homogeneous, i.e., both sides have the same size.
12
13 If something different is required, it can be set with this function.
14 For example, if the left content should be displayed over
15 75% of the panes size, $size should be passed as 0.75.
16 This way, right content will be resized to 25% of panes size.
17
18 If displayed vertically, left content is displayed at top, and
19 right content at bottom.
20
21 Note: This proportion will change when user drags the panes bar.]]
22 set {
23 }
24 get {
25 }
26 values {
27 size: double; [[Value between 0.0 and 1.0 representing size proportion of left side.]]
28 }
29 }
30 @property fixed {
31 [[Set whether the left and right panes can be resized by user interaction.
32
33 By default panes' contents are resizable by user interaction.]]
34 set {
35 }
36 get {
37 }
38 values {
39 fixed: bool; [[Use $true to fix the left and right panes sizes and make
40 them not to be resized by user interaction. Use $false to make them
41 resizable.]]
42 }
43 }
44 @property content_right_size {
45 [[Set the size proportion of panes widget's right side.
46
47 By default it's homogeneous, i.e., both sides have the same size.
48
49 If something different is required, it can be set with this function.
50 For example, if the right content should be displayed over
51 75% of the panes size, $size should be passed as 0.75.
52 This way, left content will be resized to 25% of panes size.
53
54 If displayed vertically, left content is displayed at top, and
55 right content at bottom.
56
57 Note: This proportion will change when user drags the panes bar.]]
58 set {
59 }
60 get {
61 }
62 values {
63 size: double; [[Value between 0.0 and 1.0 representing size proportion of right side.]]
64 }
65 }
66 @property content_left_min_relative_size {
67 [[Controls the relative minimum size of panes widget's left side.
68
69 proportion of minimum size of left side.
70
71 Note: If displayed vertically, left content is displayed at top.]]
72 set {
73 }
74 get {
75 }
76 values {
77 size: double; [[Value between 0.0 and 1.0 representing size proportion of minimum size of left side.]]
78 }
79 }
80 @property content_right_min_relative_size {
81 [[Set the relative minimum size of panes widget's right side.
82
83 Note: If displayed vertically, right content is displayed at bottom.]]
84 set {
85 }
86 get {
87 }
88 values {
89 size: double; [[Value between 0.0 and 1.0 representing size proportion of minimum size of right side.]]
90 }
91 }
92 @property content_left_min_size {
93 [[Set the absolute minimum size of panes widget's left side.
94
95 Note: If displayed vertically, left content is displayed at top.]]
96 set {
97 }
98 get {
99 }
100 values {
101 size: int; [[Value representing minimum size of left side in pixels.]]
102 }
103 }
104 @property content_right_min_size {
105 [[Control the absolute minimum size of panes widget's right side.
106
107 Note: If displayed vertically, right content is displayed at bottom.]]
108 set {
109 }
110 get {
111 }
112 values {
113 size: int; [[Value representing minimum size of right side in pixels.]]
114 }
115 }
116 }
117 implements {
118 class.constructor;
119 Efl.Object.constructor;
120 Elm.Widget.focus_next_manager_is;
121 Elm.Widget.focus_next;
122 Elm.Widget.theme_apply;
123 Efl.Orientation.orientation { get; set; }
124 }
125 events {
126 press; [[Called when panes got pressed]]
127 unpress; [[Called when panes are no longer pressed]]
128 }
129}