ami pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=34b6d6d267d75a73ae0036a40105c792697bf5d1

commit 34b6d6d267d75a73ae0036a40105c792697bf5d1
Author: Amitesh Singh <[email protected]>
Date:   Tue Jun 13 14:42:27 2017 +0900

    intf: Efl.Ui.Progress: Add progress_min_max property
    
    We need this for slider and progressbar widgets
    
    ref T5361
---
 src/lib/efl/interfaces/efl_ui_progress.eo | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

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
 

-- 


Reply via email to