summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_label.eo
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_label.eo')
-rw-r--r--src/lib/elementary/elm_label.eo133
1 files changed, 0 insertions, 133 deletions
diff --git a/src/lib/elementary/elm_label.eo b/src/lib/elementary/elm_label.eo
deleted file mode 100644
index f9e147d..0000000
--- a/src/lib/elementary/elm_label.eo
+++ /dev/null
@@ -1,133 +0,0 @@
1import elm_general;
2
3enum Elm.Label.Slide_Mode
4{
5 [[Slide mode of a label widget]]
6 none = 0, [[No slide effect.]]
7 auto, [[Slide only if the label area is bigger than the text width length.]]
8 always [[Slide always.]]
9}
10
11class Elm.Label extends Efl.Ui.Layout implements Efl.Ui.Legacy
12{
13 [[Elementary label class]]
14 legacy_prefix: elm_label;
15 eo_prefix: elm_obj_label;
16 event_prefix: elm_label;
17 methods {
18 @property wrap_width {
19 [[Control wrap width of the label
20
21 This function sets the maximum width size hint of the label.
22
23 Warning: This is only relevant if the label is inside a container.]]
24 set {
25 }
26 get {
27 }
28 values {
29 w: int; [[The wrap width in pixels at a minimum where words need to wrap]]
30 }
31 }
32 @property slide_speed {
33 [[Control the slide speed of the label
34
35 Note: If you set the duration of the slide using @.slide_duration.set
36 you cannot get the correct speed using this function until the label
37 is actually rendered and resized.
38
39 See @.slide_duration.set]]
40 set {
41 }
42 get {
43 }
44 values {
45 speed: double; [[The speed of the slide animation in px per seconds]]
46 }
47 }
48 @property slide_mode {
49 [[Control the slide mode of the label widget.
50
51 By default, slide mode is none. Possible values for $mode are:
52 @Elm.Label.Slide_Mode.none - no slide effect
53 @Elm.Label.Slide_Mode.auto - slide only if the label area is bigger than
54 the text width length
55 @Elm.Label.Slide_Mode.always - slide always
56
57 Warning: @Elm.Label.Slide_Mode.auto, @Elm.Label.Slide_Mode.always only work
58 with the themes "slide_short", "slide_long" and "slide_bounce".
59 Warning: @Elm.Label.Slide_Mode.auto, @Elm.Label.Slide_Mode.always don't work
60 if the line wrap(elm_label_line_wrap_set()) or
61 ellipsis(elm_label_ellipsis_set()) is set.
62
63 @since 1.8]]
64 set {
65 }
66 get {
67 }
68 values {
69 mode: Elm.Label.Slide_Mode; [[The slide mode]]
70 }
71 }
72 @property slide_duration {
73 [[Control the slide duration of the label
74
75 Note: If you set the speed of the slide using @.slide_speed.set
76 you cannot get the correct duration using this function until the label
77 is actually rendered and resized.]]
78 set {
79 }
80 get {
81 }
82 values {
83 duration: double; [[The duration in seconds in moving text from slide begin position to slide end position]]
84 }
85 }
86 @property line_wrap {
87 [[Control the wrapping behavior of the label
88
89 By default no wrapping is done. Possible values for $wrap are:
90 $ELM_WRAP_NONE - No wrapping
91 $ELM_WRAP_CHAR - wrap between characters
92 $ELM_WRAP_WORD - wrap between words
93 $ELM_WRAP_MIXED - Word wrap, and if that fails, char wrap]]
94 set {
95 }
96 get {
97 }
98 values {
99 wrap: Elm.Wrap.Type; [[To wrap text or not]]
100 }
101 }
102 @property ellipsis {
103 [[Control the ellipsis behavior of the label
104
105 If set to true and the text doesn't fit in the label an ellipsis("...")
106 will be shown at the end of the widget.
107
108 Warning This doesn't work with slide(elm_label_slide_set()) or if the
109 chosen wrap method was $ELM_WRAP_WORD.]]
110 set {
111 }
112 get {
113 }
114 values {
115 ellipsis: bool; [[To ellipsis text or not]]
116 }
117 }
118 slide_go {
119 [[Start slide effect.
120
121 See @.slide_mode.set.]]
122 }
123 }
124 implements {
125 class.constructor;
126 Efl.Object.constructor;
127 Efl.Ui.Widget.theme_apply;
128 Efl.Part.part_get;
129 }
130 events {
131 slide,end: void; [[Called when slide stopped]]
132 }
133}