efl/src/lib/elementary/efl_ui_slider.eo

34 lines
1.6 KiB
Plaintext

class Efl.Ui.Slider extends Efl.Ui.Layout_Base implements Efl.Ui.Range_Interactive, Efl.Ui.Layout_Orientable,
Efl.Access.Widget.Action
{
[[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.
@since 1.23
]]
implements {
Efl.Object.constructor;
Efl.Object.destructor;
Efl.Ui.Widget.theme_apply;
Efl.Ui.Widget.on_access_activate;
Efl.Ui.Focus.Object.on_focus_update;
Efl.Ui.Widget.widget_input_event_handler;
Efl.Ui.Range_Display.range_value { get; set; }
Efl.Ui.Range_Display.range_limits {get; set; }
Efl.Ui.Range_Interactive.range_step { get; set; }
Efl.Ui.Layout_Orientable.orientation { get; set; }
Efl.Access.Widget.Action.elm_actions { get; }
}
events {
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.]]
}
}