summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_slider.eo
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/efl_ui_slider.eo')
-rw-r--r--src/lib/elementary/efl_ui_slider.eo47
1 files changed, 1 insertions, 46 deletions
diff --git a/src/lib/elementary/efl_ui_slider.eo b/src/lib/elementary/efl_ui_slider.eo
index 609c3fa..0368087 100644
--- a/src/lib/elementary/efl_ui_slider.eo
+++ b/src/lib/elementary/efl_ui_slider.eo
@@ -8,46 +8,12 @@ class Efl.Ui.Slider (Efl.Ui.Layout, Efl.Ui.Range, Efl.Ui.Direction,
8 [[Elementary slider class]] 8 [[Elementary slider class]]
9 legacy_prefix: elm_slider; 9 legacy_prefix: elm_slider;
10 methods { 10 methods {
11 @property indicator_format {
12 set {
13 [[Set the format string for the indicator label.
14
15 The slider may display its value somewhere else then unit label,
16 for example, above the slider knob that is dragged around. This
17 function sets the format string used for this.
18
19 If $null, indicator label won't be visible. If not it sets the
20 format string for the label text. To the label text is provided
21 a floating point value, so the label text can display up to 1
22 floating point value. Note that this is optional.
23
24 Use a format string such as "%1.2f meters" for example, and it
25 will display values like: "3.14 meters" for a value equal to
26 3.14159.
27
28 Default is indicator label disabled.
29 ]]
30 }
31 get {
32 [[Get the indicator label format of the slider.
33
34 The slider may display its value somewhere else then unit label,
35 for example, above the slider knob that is dragged around. This
36 function gets the format string used for this.
37 ]]
38 }
39 values {
40 indicator: string @nullable; [[The format string for the indicator display.]]
41 }
42 }
43 @property indicator_show { 11 @property indicator_show {
44 set { 12 set {
45 [[Set whether to enlarge slider indicator (augmented knob) or not. 13 [[Set whether to enlarge slider indicator (augmented knob) or not.
46 14
47 By default, indicator will be bigger while dragged by the user. 15 By default, indicator will be bigger while dragged by the user.
48 16
49 Warning: It won't display values set with @.indicator_format.set
50 if you disable indicator.
51 ]] 17 ]]
52 } 18 }
53 get { 19 get {
@@ -98,18 +64,6 @@ class Efl.Ui.Slider (Efl.Ui.Layout, Efl.Ui.Range, Efl.Ui.Direction,
98 indicator_visible_mode: Efl.Ui.Slider.Indicator_Visible_Mode; [[The indicator visible mode.]] 64 indicator_visible_mode: Efl.Ui.Slider.Indicator_Visible_Mode; [[The indicator visible mode.]]
99 } 65 }
100 } 66 }
101 @property indicator_format_function {
102 set {
103 [[Set the format function pointer for the indicator label
104
105 Set the callback function to format the indicator string.
106 ]]
107 }
108 values {
109 func: slider_func_type @nullable; [[The indicator format function.]]
110 free_func: slider_freefunc_type @nullable; [[The freeing function for the format string.]]
111 }
112 }
113 } 67 }
114 implements { 68 implements {
115 class.constructor; 69 class.constructor;
@@ -130,6 +84,7 @@ class Efl.Ui.Slider (Efl.Ui.Layout, Efl.Ui.Range, Efl.Ui.Direction,
130 Efl.Text.Markup.markup { get; set; } 84 Efl.Text.Markup.markup { get; set; }
131 Efl.Ui.Format.format_cb { set; } 85 Efl.Ui.Format.format_cb { set; }
132 Efl.Ui.Translatable.translatable_text { get; set; } 86 Efl.Ui.Translatable.translatable_text { get; set; }
87 Efl.Part.part;
133 } 88 }
134 events { 89 events {
135 changed; [[Called when slider changed]] 90 changed; [[Called when slider changed]]