summaryrefslogtreecommitdiff
path: root/src/lib/efl/interfaces/efl_ui_spin.eo
blob: c86152359801d9d3dbcdf7d63a7bc3dbc0294544 (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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
interface Efl.Ui.Spin()
{
   methods {
      @property min_max {
         [[Control the minimum and maximum values for the spinner.

           Define the allowed range of values to be selected by the user.

           If actual value is less than $min, it will be updated to $min. If it
           is bigger then $max, will be updated to $max.

           By default, min is equal to 0, and max is equal to 100.

           Warning: Maximum must be greater than minimum.]]
         set {
         }
         get {
         }
         values {
            min: double; [[The minimum value.]]
            max: double; [[The maximum value.]]
         }
      }
      @property step {
         [[Control the step used to increment or decrement the spinner value.

           This value will be incremented or decremented to the displayed value.
           It will be incremented while the user keep right or top arrow pressed,
           and will be decremented while the user keep left or bottom arrow pressed.

           The interval to increment / decrement can be set with @.interval.set.

           By default step value is equal to 1.]]
         set {
         }
         get {
         }
         values {
            step: double; [[The step value.]]
         }
      }
      @property value {
         [[Control the value the spinner displays.

           Value will be presented on the label following format specified with
           elm_spinner_format_set().

           Warning The value must to be between min and max values. This values
           are set by elm_spinner_min_max_set().]]
         set {
         }
         get {
         }
         values {
            val: double; [[The value to be displayed.]]
         }
      }
      @property interval {
         [[Control the interval on time updates for an user mouse button hold on spinner widgets' arrows.

           This interval value is decreased while the user holds the
           mouse pointer either incrementing or decrementing spinner's value.

           This helps the user to get to a given value distant from the
           current one easier/faster, as it will start to change quicker and
           quicker on mouse button holds.

           The calculation for the next change interval value, starting from
           the one set with this call, is the previous interval divided by
           $1.05, so it decreases a little bit.

           The default starting interval value for automatic changes is
           $0.85 seconds.]]
         set {
         }
         get {
         }
         values {
            interval: double; [[The (first) interval value in seconds.]]
         }
      }
   }
}