summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2017-06-13 14:42:27 +0900
committerAmitesh Singh <amitesh.sh@samsung.com>2017-06-13 18:05:06 +0900
commit34b6d6d267d75a73ae0036a40105c792697bf5d1 (patch)
tree374fa36793692c23f6545afdbd61150addd24c01
parentf9d3219c1739d7abea16fecd92fcc0981ddf801c (diff)
downloadefl-34b6d6d267d75a73ae0036a40105c792697bf5d1.tar.gz
intf: Efl.Ui.Progress: Add progress_min_max property
We need this for slider and progressbar widgets ref T5361
-rw-r--r--src/lib/efl/interfaces/efl_ui_progress.eo28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/lib/efl/interfaces/efl_ui_progress.eo b/src/lib/efl/interfaces/efl_ui_progress.eo
index 0ec8219a45..9f12301831 100644
--- a/src/lib/efl/interfaces/efl_ui_progress.eo
+++ b/src/lib/efl/interfaces/efl_ui_progress.eo
@@ -39,6 +39,34 @@ interface Efl.Ui.Progress
val: double; [[The progress value (must be between $0.0 and 1.0)]]
}
}
+ @property progress_min_max {
+ set {
+ [[Set the minimum and maximum values for given progress widget.
+
+ Define the allowed range of values to be selected by the user.
+
+ If actual value is less than $min, it will be updated to $min.
+ If it is bigger then $max, will be updated to $max. Actual value
+ can be get with @Efl.Ui.Progress.progress_value.get
+
+ By default, min is equal to 0.0, and max is equal to 1.0.
+
+ Warning: maximum must be greater than minimum, otherwise behavior
+ is undefined.
+ ]]
+ }
+ get {
+ [[Get the minimum and maximum values of the given progress widget.
+
+ Note: If only one value is needed, the other pointer can be passed
+ as $null.
+ ]]
+ }
+ values {
+ min: double; [[The minimum value.]]
+ max: double; [[The maximum value.]]
+ }
+ }
@property unit_format {
[[Control the format string for a given progress widget's units label