blob: 354e3a1adbb3ad7834d44efc6bfc0f79356992a3 (
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
|
import elm_general;
mixin Efl.Access.Action ()
{
[[Accessible action mixin]]
data: null;
methods {
@property action_name @protected @pure_virtual @beta {
[[Gets action name for given id]]
get {
}
values {
name: string; [[Action name]]
}
keys {
id: int; [[ID to get action name for]]
}
}
@property action_localized_name @protected @beta {
[[Gets localized action name for given id]]
get {
}
values {
name: string; [[Localized name]]
}
keys {
id: int; [[ID to get localized name for]]
}
}
@property action_description @protected @pure_virtual @beta {
[[Action description for given id]]
get {
}
set {
return: bool; [[$true if description was set, $false otherwise]]
}
values {
description: string; [[Action description]]
}
keys {
id: int; [[ID to set or get description for]]
}
}
@property actions @protected @beta {
/* C-only, internal API */
[[Get list of available widget actions]]
get @pure_virtual {
}
values {
actions: list<ptr(Efl.Access.Action_Data)>;
[[Contains statically allocated strings.]]
}
}
action_do @protected @pure_virtual @beta {
[[Performs action on given widget.]]
params {
@in id: int; [[ID for widget]]
}
return: bool; [[$true if action was performed, $false otherwise]]
}
action_keybinding_get @protected @pure_virtual @beta {
[[Gets configured keybinding for specific action and widget.]]
params {
@in id: int; [[ID for widget]]
}
return: mstring @owned @warn_unused; [[Should be freed by the user.]]
}
}
}
|