summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_slider.eo
blob: 6a464cf4ffd93919960450d1ee827cdfab61b6e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
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, Efl.Access.Widget.Action,
                     Efl.Content)
{
   [[Elementary slider class]]
   legacy_prefix: elm_slider;
   methods {
      @property step {
         set {
            [[Set the step by which slider indicator will move.

              This value is used when a draggable object is moved automatically
              such as when key events like the up/down/left/right key are pressed
              or in case accessibility is set and flick event is used to
              inc/dec slider values. By default step value is 0.05.

              @since 1.8
            ]]
         }
         get {
            [[Get the step by which slider indicator moves.

              @since 1.8
            ]]
         }
         values {
            step: double; [[The step value.]]
         }
      }
   }
   parts {
      indicator: Efl.Ui.Slider.Part_Indicator;
          [[A floating indicator above the slider.]]
   }
   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; }
      Efl.Access.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.Content.content { get; set; }
      Efl.Content.content_unset;
      Efl.Part.part;
   }
   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]]
   }
}