summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_panes.eo
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/efl_ui_panes.eo')
-rw-r--r--src/lib/elementary/efl_ui_panes.eo80
1 files changed, 17 insertions, 63 deletions
diff --git a/src/lib/elementary/efl_ui_panes.eo b/src/lib/elementary/efl_ui_panes.eo
index 474f6aca9d..fed0a577b5 100644
--- a/src/lib/elementary/efl_ui_panes.eo
+++ b/src/lib/elementary/efl_ui_panes.eo
@@ -5,26 +5,28 @@ class Efl.Ui.Panes (Elm.Layout, Efl.Orientation,
legacy_prefix: elm_panes;
event_prefix: elm_panes;
methods {
- @property content_left_size {
- [[Set the size proportion of panes widget's left side.
+ @property split_ratio {
+ [[Set the split ratio between panes widget first and second parts.
By default it's homogeneous, i.e., both sides have the same size.
If something different is required, it can be set with this function.
- For example, if the left content should be displayed over
- 75% of the panes size, $size should be passed as 0.75.
- This way, right content will be resized to 25% of panes size.
-
- If displayed vertically, left content is displayed at top, and
- right content at bottom.
-
- Note: This proportion will change when user drags the panes bar.]]
- set {
- }
- get {
- }
+ For example, if the first content should be displayed over
+ 75% of the panes size, $ratio should be passed as 0.75.
+ This way, second content will be resized to 25% of panes size.
+
+ If displayed vertically, first content is displayed at top, and
+ second content at bottom.
+
+ Note: This ratio will change when user drags the panes bar.]]
+ set {
+ legacy: null;
+ }
+ get {
+ legacy: null;
+ }
values {
- size: double; [[Value between 0.0 and 1.0 representing size proportion of left side.]]
+ ratio: double; [[Value between 0.0 and 1.0 representing split ratio between panes first and second parts.]]
}
}
@property fixed {
@@ -41,54 +43,6 @@ class Efl.Ui.Panes (Elm.Layout, Efl.Orientation,
resizable.]]
}
}
- @property content_right_size {
- [[Set the size proportion of panes widget's right side.
-
- By default it's homogeneous, i.e., both sides have the same size.
-
- If something different is required, it can be set with this function.
- For example, if the right content should be displayed over
- 75% of the panes size, $size should be passed as 0.75.
- This way, left content will be resized to 25% of panes size.
-
- If displayed vertically, left content is displayed at top, and
- right content at bottom.
-
- Note: This proportion will change when user drags the panes bar.]]
- set {
- }
- get {
- }
- values {
- size: double; [[Value between 0.0 and 1.0 representing size proportion of right side.]]
- }
- }
- @property content_left_min_relative_size {
- [[Controls the relative minimum size of panes widget's left side.
-
- proportion of minimum size of left side.
-
- Note: If displayed vertically, left content is displayed at top.]]
- set {
- }
- get {
- }
- values {
- size: double; [[Value between 0.0 and 1.0 representing size proportion of minimum size of left side.]]
- }
- }
- @property content_right_min_relative_size {
- [[Set the relative minimum size of panes widget's right side.
-
- Note: If displayed vertically, right content is displayed at bottom.]]
- set {
- }
- get {
- }
- values {
- size: double; [[Value between 0.0 and 1.0 representing size proportion of minimum size of right side.]]
- }
- }
}
implements {
class.constructor;