blob: dbae20722ddd8b5f9f6a58b89256f20ab3b2a634 (
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
84
|
enum Elm.Actionslider.Pos
{
[[A position for indicators, magnets, and enabled items.]]
legacy: elm_actionslider;
none = 0, [[No position is set.]]
left = 1 << 0, [[Left position.]]
center = 1 << 1, [[Center position.]]
right = 1 << 2, [[Right position.]]
all = (1 << 3) - 1 [[All positions for left/center/right.]]
}
class Elm.Actionslider (Elm.Layout, Evas.Selectable_Interface)
{
eo_prefix: elm_obj_actionslider;
methods {
@property indicator_pos {
set {
[[Set actionslider indicator position.]]
}
get {
[[Get actionslider indicator position.]]
}
values {
pos: Elm.Actionslider.Pos; [[The position of the indicator.]]
}
}
@property magnet_pos {
set {
[[Set actionslider magnet position.
To make multiple positions magnets OR them together (e.g.
ELM_ACTIONSLIDER_LEFT | #ELM_ACTIONSLIDER_RIGHT)
]]
}
get {
[[Get actionslider magnet position.]]
}
values {
pos: Elm.Actionslider.Pos; [[Bit mask indicating the magnet positions.]]
}
}
@property enabled_pos {
set {
[[Set actionslider enabled position. To set multiple positions as
enabled OR them together(e.g.
#ELM_ACTIONSLIDER_LEFT | #ELM_ACTIONSLIDER_RIGHT).
Note: All the positions are enabled by default.
]]
}
get {
[[Get actionslider enabled position.]]
}
values {
pos: Elm.Actionslider.Pos; [[Bit mask indicating the enabled positions.]]
}
}
@property selected_label {
get {
[[Get actionslider selected label.]]
return: const(char)*;
}
}
}
implements {
class.constructor;
Eo.Base.constructor;
Evas.Object_Smart.add;
Elm.Widget.focus_next_manager_is;
Elm.Widget.focus_direction_manager_is;
Elm.Widget.theme_apply;
Elm.Layout.text.set;
Elm.Layout.text.get;
Elm.Layout.text_aliases.get;
Elm.Layout.sizing_eval;
}
events {
language,changed;
access,changed;
pos_changed;
}
}
|