From 4b7d842d280025b9cf749715a7c44a2a0fc4779f Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Mon, 8 Jul 2019 17:16:31 +0200 Subject: wip --- src/lib/efl/interfaces/efl_ui_range_display.eo | 15 +++++++-------- src/lib/efl/interfaces/efl_ui_range_interactive.eo | 7 ++----- 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/src/lib/efl/interfaces/efl_ui_range_display.eo b/src/lib/efl/interfaces/efl_ui_range_display.eo index 39ca1b2113..352f017684 100644 --- a/src/lib/efl/interfaces/efl_ui_range_display.eo +++ b/src/lib/efl/interfaces/efl_ui_range_display.eo @@ -4,19 +4,19 @@ interface @beta Efl.Ui.Range_Display c_prefix: efl_ui_range; methods { @property range_value { - [[Control the range value (in percentage) on a given range widget - - Use this call to set range levels. + [[Control the range value of a widget. Note: If you pass a value out of the specified interval for - $val, it will be interpreted as the closest of the boundary - values in the interval.]] + $val, there will be an error. An exception to this are implementations that support clamping or modulos. + ]] set { + [[Set the new value to the widget.]] } get { + [[The value that is currently displayed.]] } values { - val: double; [[The range value (must be between $0.0 and 1.0)]] + val: double; [[The range value (must be between $min and $max)]] } } @property range_limits { @@ -31,8 +31,7 @@ interface @beta Efl.Ui.Range_Display The minimum and maximum values may be different for each class. - Warning: maximum must be greater than minimum, otherwise behavior - is undefined. + Warning: maximum must be greater than minimum, otherwise an error is raised. ]] } get { diff --git a/src/lib/efl/interfaces/efl_ui_range_interactive.eo b/src/lib/efl/interfaces/efl_ui_range_interactive.eo index 817178c7b2..5f7903c926 100644 --- a/src/lib/efl/interfaces/efl_ui_range_interactive.eo +++ b/src/lib/efl/interfaces/efl_ui_range_interactive.eo @@ -13,11 +13,8 @@ interface @beta Efl.Ui.Range_Interactive extends Efl.Ui.Range_Display By default step value is equal to 1. - Warning: The step value should be bigger than 0.]] - set { - } - get { - } + Warning: The step value should be bigger than 0.0. + ]] values { step: double; [[The step value.]] } -- cgit v1.2.1