2019-05-24 09:30:31 -07:00
|
|
|
class @beta Efl.Ui.Slider extends Efl.Ui.Layout_Base implements Efl.Ui.Range_Interactive, Efl.Ui.Layout_Orientable,
|
2018-05-14 22:16:00 -07:00
|
|
|
Efl.Access.Value,
|
2019-01-24 04:12:57 -08:00
|
|
|
Efl.Access.Widget.Action
|
2014-03-26 02:46:20 -07:00
|
|
|
{
|
2019-09-16 03:56:36 -07:00
|
|
|
[[Elementary slider class
|
|
|
|
|
|
|
|
This lets the UI user select a numerical value inside the @Efl.Ui.Range_Display.range_limits limits.
|
|
|
|
The current value can be retrieved using the @Efl.Ui.Range_Interactive interface. Events monitoring its
|
|
|
|
changes are also available in that interface.
|
|
|
|
The visual representation of min and max can be swapped using @Efl.Ui.Layout_Orientable.orientation.
|
|
|
|
Normally the minimum of @Efl.Ui.Range_Display.range_limits is shown on the left side, the max on the right side.
|
|
|
|
]]
|
2014-03-26 02:46:20 -07:00
|
|
|
implements {
|
2016-08-10 07:23:04 -07:00
|
|
|
Efl.Object.constructor;
|
2018-05-14 22:16:00 -07:00
|
|
|
Efl.Object.destructor;
|
2018-01-07 20:55:35 -08:00
|
|
|
Efl.Ui.Widget.theme_apply;
|
|
|
|
Efl.Ui.Widget.on_access_activate;
|
2018-01-19 00:25:47 -08:00
|
|
|
Efl.Ui.Focus.Object.on_focus_update;
|
2019-03-04 10:37:18 -08:00
|
|
|
Efl.Ui.Widget.widget_input_event_handler;
|
2019-01-21 07:22:32 -08:00
|
|
|
Efl.Ui.Range_Display.range_value { get; set; }
|
2019-06-19 00:55:51 -07:00
|
|
|
Efl.Ui.Range_Display.range_limits {get; set; }
|
2019-01-21 07:22:32 -08:00
|
|
|
Efl.Ui.Range_Interactive.range_step { get; set; }
|
2019-05-24 09:30:31 -07:00
|
|
|
Efl.Ui.Layout_Orientable.orientation { get; set; }
|
2017-09-11 23:36:24 -07:00
|
|
|
Efl.Access.Value.value_and_text { get; set; }
|
|
|
|
Efl.Access.Value.range { get; }
|
|
|
|
Efl.Access.Value.increment { get; }
|
2017-11-15 18:31:26 -08:00
|
|
|
Efl.Access.Widget.Action.elm_actions { get; }
|
2014-03-26 02:46:20 -07:00
|
|
|
}
|
|
|
|
events {
|
2019-06-14 09:03:32 -07:00
|
|
|
slider,drag,start: void; [[Called when a slider drag operation has started. This means a $press event
|
|
|
|
has been received on the slider thumb but not the $unpress.]]
|
|
|
|
slider,drag,stop: void; [[Called when a slider drag operation has finished. This means an $unpress event
|
|
|
|
has been received on the slider thumb.]]
|
2014-03-26 02:46:20 -07:00
|
|
|
}
|
|
|
|
}
|