summaryrefslogtreecommitdiff
path: root/src/lib/efl/interfaces/efl_ui_spin.eo
diff options
context:
space:
mode:
authorWoochan Lee <wc0917.lee@samsung.com>2017-11-20 19:12:49 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2017-11-27 19:40:31 +0900
commiteefcb49419af9d0057ba4c03e6c9009a1265e31e (patch)
treeaa4282cd4b8d311d1434a02d6ae86d850ee8bc46 /src/lib/efl/interfaces/efl_ui_spin.eo
parent31ce5250cb125a5aee98480ba87570e9811c5c54 (diff)
efl_ui_spin: Add new spin and spin_button widgets
Summary: https://phab.enlightenment.org/T5900 Creating base class(efl_ui_spin) to support various shape of spinner. Added button interaction widget efl_ui_spin_button inherited from efl_ui_spin. Test Plan: Add tests in elementary_test. Reviewers: Jaehyun_Cho, woohyun, jpeg, singh.amitesh Subscribers: jenkins, id213sin, cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5424
Diffstat (limited to '')
-rw-r--r--src/lib/efl/interfaces/efl_ui_spin.eo84
1 files changed, 0 insertions, 84 deletions
diff --git a/src/lib/efl/interfaces/efl_ui_spin.eo b/src/lib/efl/interfaces/efl_ui_spin.eo
deleted file mode 100644
index bfeca2be70..0000000000
--- a/src/lib/efl/interfaces/efl_ui_spin.eo
+++ /dev/null
@@ -1,84 +0,0 @@
1interface Efl.Ui.Spin()
2{
3 [[Efl UI spinner interface]]
4 methods {
5 @property min_max {
6 [[Control the minimum and maximum values for the spinner.
7
8 Define the allowed range of values to be selected by the user.
9
10 If actual value is less than $min, it will be updated to $min. If it
11 is bigger then $max, will be updated to $max.
12
13 By default, min is equal to 0, and max is equal to 100.
14
15 Warning: Maximum must be greater than minimum.]]
16 set {
17 }
18 get {
19 }
20 values {
21 min: double; [[The minimum value.]]
22 max: double; [[The maximum value.]]
23 }
24 }
25 @property step {
26 [[Control the step used to increment or decrement the spinner value.
27
28 This value will be incremented or decremented to the displayed value.
29 It will be incremented while the user keep right or top arrow pressed,
30 and will be decremented while the user keep left or bottom arrow pressed.
31
32 The interval to increment / decrement can be set with @.interval.set.
33
34 By default step value is equal to 1.]]
35 set {
36 }
37 get {
38 }
39 values {
40 step: double; [[The step value.]]
41 }
42 }
43 @property value {
44 [[Control the value the spinner displays.
45
46 Value will be presented on the label following format specified with
47 elm_spinner_format_set().
48
49 Warning The value must to be between min and max values. This values
50 are set by elm_spinner_min_max_set().]]
51 set {
52 }
53 get {
54 }
55 values {
56 val: double; [[The value to be displayed.]]
57 }
58 }
59 @property interval {
60 [[Control the interval on time updates for an user mouse button hold on spinner widgets' arrows.
61
62 This interval value is decreased while the user holds the
63 mouse pointer either incrementing or decrementing spinner's value.
64
65 This helps the user to get to a given value distant from the
66 current one easier/faster, as it will start to change quicker and
67 quicker on mouse button holds.
68
69 The calculation for the next change interval value, starting from
70 the one set with this call, is the previous interval divided by
71 $1.05, so it decreases a little bit.
72
73 The default starting interval value for automatic changes is
74 $0.85 seconds.]]
75 set {
76 }
77 get {
78 }
79 values {
80 interval: double; [[The (first) interval value in seconds.]]
81 }
82 }
83 }
84}