2014-04-20 23:04:25 -07:00
|
|
|
mixin Elm_Interface_Atspi_Action ()
|
|
|
|
{
|
|
|
|
legacy_prefix: null;
|
|
|
|
eo_prefix: elm_interface_atspi_action;
|
|
|
|
data: null;
|
2015-05-07 09:32:53 -07:00
|
|
|
methods {
|
|
|
|
@property name @protected {
|
2014-04-20 23:04:25 -07:00
|
|
|
get {
|
2015-08-07 06:26:50 -07:00
|
|
|
[[Gets action name for given id]]
|
2014-04-20 23:04:25 -07:00
|
|
|
}
|
|
|
|
values {
|
2015-05-18 08:16:08 -07:00
|
|
|
name: const(char)*;
|
2014-04-20 23:04:25 -07:00
|
|
|
}
|
|
|
|
keys {
|
2015-05-18 08:16:08 -07:00
|
|
|
id: int;
|
2014-04-20 23:04:25 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property localized_name @protected {
|
2014-04-20 23:04:25 -07:00
|
|
|
get {
|
2015-08-07 06:26:50 -07:00
|
|
|
[[Gets localized action name for given id]]
|
2014-04-20 23:04:25 -07:00
|
|
|
}
|
|
|
|
values {
|
2015-05-18 08:16:08 -07:00
|
|
|
name: const(char)*;
|
2014-04-20 23:04:25 -07:00
|
|
|
}
|
|
|
|
keys {
|
2015-05-18 08:16:08 -07:00
|
|
|
id: int;
|
2014-04-20 23:04:25 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property description @protected {
|
2014-04-20 23:04:25 -07:00
|
|
|
get {
|
2015-08-07 06:26:50 -07:00
|
|
|
[[Gets action description for given id]]
|
2014-04-20 23:04:25 -07:00
|
|
|
}
|
|
|
|
set {
|
2015-08-07 06:26:50 -07:00
|
|
|
[[Sets action description for given id]]
|
2014-08-11 07:46:11 -07:00
|
|
|
return: bool;
|
2014-04-20 23:04:25 -07:00
|
|
|
}
|
|
|
|
values {
|
2015-05-18 08:16:08 -07:00
|
|
|
description: const(char)*;
|
2014-04-20 23:04:25 -07:00
|
|
|
}
|
|
|
|
keys {
|
2015-05-18 08:16:08 -07:00
|
|
|
id: int;
|
2014-04-20 23:04:25 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property actions @protected {
|
2014-04-20 23:04:25 -07:00
|
|
|
get {
|
2015-08-07 06:26:50 -07:00
|
|
|
[[Get list of available widget actions]]
|
2014-04-20 23:04:25 -07:00
|
|
|
}
|
|
|
|
values {
|
2015-08-07 06:26:50 -07:00
|
|
|
actions: list<Elm_Atspi_Action> *; [[contains statically allocated strings]]
|
2014-04-20 23:04:25 -07:00
|
|
|
}
|
|
|
|
}
|
2014-07-22 08:36:29 -07:00
|
|
|
action_do @protected {
|
2015-08-07 06:26:50 -07:00
|
|
|
[[Performs action on given widget.]]
|
2014-04-20 23:04:25 -07:00
|
|
|
params {
|
2015-05-18 08:16:08 -07:00
|
|
|
@in id: int;
|
2014-04-20 23:04:25 -07:00
|
|
|
}
|
2014-08-11 07:46:11 -07:00
|
|
|
return: bool;
|
2014-04-20 23:04:25 -07:00
|
|
|
}
|
2014-07-22 08:36:29 -07:00
|
|
|
keybinding_get @protected {
|
2015-08-07 06:26:50 -07:00
|
|
|
[[Gets configured keybinding for specific action and widget.]]
|
2014-04-20 23:04:25 -07:00
|
|
|
params {
|
2015-05-18 08:16:08 -07:00
|
|
|
@in id: int;
|
2014-04-20 23:04:25 -07:00
|
|
|
}
|
2015-08-07 06:26:50 -07:00
|
|
|
return: own(char *) @warn_unused; [[Should be freed by the user.]]
|
2014-04-20 23:04:25 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
implements {
|
2014-08-29 03:41:44 -07:00
|
|
|
@virtual .action_do;
|
|
|
|
@virtual .keybinding_get;
|
|
|
|
@virtual .name.get;
|
|
|
|
@virtual .name.set;
|
|
|
|
@virtual .description.get;
|
|
|
|
@virtual .description.set;
|
|
|
|
@virtual .actions.get;
|
2014-04-20 23:04:25 -07:00
|
|
|
}
|
|
|
|
}
|