efl/src/lib/elementary/efl_ui_slider.eo

99 lines
3.3 KiB
Plaintext
Raw Normal View History

type slider_func_type: __undefined_type; [[Elementary slider function type]]
type slider_freefunc_type: __undefined_type; [[Elementary slider free function type]]
2016-04-19 08:32:45 -07:00
class Efl.Ui.Slider (Efl.Ui.Layout, Efl.Ui.Range, Efl.Ui.Direction,
Efl.Access.Value, Efl.Text, Efl.Text.Markup, Efl.Ui.Format,
Efl.Ui.Translatable, Elm.Interface.Atspi_Widget_Action)
2014-03-26 02:46:20 -07:00
{
[[Elementary slider class]]
legacy_prefix: elm_slider;
2015-05-07 09:32:53 -07:00
methods {
@property indicator_show {
2014-03-26 02:46:20 -07:00
set {
2015-08-11 08:57:08 -07:00
[[Set whether to enlarge slider indicator (augmented knob) or not.
2014-03-26 02:46:20 -07:00
2015-08-11 08:57:08 -07:00
By default, indicator will be bigger while dragged by the user.
2014-03-26 02:46:20 -07:00
2015-08-11 08:57:08 -07:00
]]
2014-03-26 02:46:20 -07:00
}
get {
2015-08-11 08:57:08 -07:00
[[Get whether a given slider widget's enlarging indicator or not.]]
2014-03-26 02:46:20 -07:00
}
values {
2015-08-11 08:57:08 -07:00
show: bool; [[$true will make it enlarge, $false will
let the knob always at default size.]]
2014-03-26 02:46:20 -07:00
}
}
2015-05-07 09:32:53 -07:00
@property indicator_show_on_focus {
2014-03-26 02:46:20 -07:00
set {
2015-08-11 08:57:08 -07:00
[[Show the indicator of slider on focus.]]
2014-03-26 02:46:20 -07:00
}
get {
2015-08-11 08:57:08 -07:00
[[Get whether the indicator of the slider is set or not.]]
2014-03-26 02:46:20 -07:00
}
values {
flag: bool; [[$true if indicator is shown on focus, $false otherwise]]
2014-03-26 02:46:20 -07:00
}
}
2015-05-07 09:32:53 -07:00
@property step {
2014-03-26 02:46:20 -07:00
set {
2015-08-11 08:57:08 -07:00
[[Set the step by which slider indicator will move.
2014-03-26 02:46:20 -07:00
2015-08-11 08:57:08 -07:00
This value is used when draggable object is moved automatically
i.e., in case of key event when up/down/left/right key is pressed
or in case when accessibility is set and flick event is used to
inc/dec slider values. By default step value is equal to 0.05.
2014-03-26 02:46:20 -07:00
2015-08-11 08:57:08 -07:00
@since 1.8
]]
2014-03-26 02:46:20 -07:00
}
get {
2015-08-11 08:57:08 -07:00
[[Get the step by which slider indicator moves.
2014-03-26 02:46:20 -07:00
2015-08-11 08:57:08 -07:00
@since 1.8
]]
2014-03-26 02:46:20 -07:00
}
values {
2015-08-11 08:57:08 -07:00
step: double; [[The step value.]]
2014-03-26 02:46:20 -07:00
}
}
2015-05-07 09:32:53 -07:00
@property indicator_visible_mode {
[[Set/Get the visible mode of indicator.
]]
values {
indicator_visible_mode: Efl.Ui.Slider.Indicator_Visible_Mode; [[The indicator visible mode.]]
}
}
2014-03-26 02:46:20 -07:00
}
parts {
indicator: Efl.Ui.Slider.Part; [[A floating indicator above the slider.]]
}
2014-03-26 02:46:20 -07:00
implements {
class.constructor;
Efl.Object.constructor;
Efl.Canvas.Group.group_calculate;
Elm.Widget.theme_apply;
Elm.Widget.on_access_activate;
Elm.Widget.on_focus_update;
Elm.Widget.widget_event;
Efl.Ui.Range.range_value { get; set; }
Efl.Ui.Range.range_min_max {get; set; }
Efl.Ui.Direction.direction { get; set; }
Efl.Access.Value.value_and_text { get; set; }
Efl.Access.Value.range { get; }
Efl.Access.Value.increment { get; }
Elm.Interface.Atspi_Widget_Action.elm_actions { get; }
Efl.Text.text { get; set; }
Efl.Text.Markup.markup { get; set; }
Efl.Ui.Format.format_cb { set; }
Efl.Ui.Translatable.translatable_text { get; set; }
Efl.Part.part;
2014-03-26 02:46:20 -07:00
}
events {
changed; [[Called when slider changed]]
delay,changed; [[Called when delay changed]]
slider,drag,start; [[Called when slider drag started]]
slider,drag,stop; [[Called when slider drag stopped]]
2014-03-26 02:46:20 -07:00
}
}