2016-05-12 03:37:43 -07:00
|
|
|
mixin Elm.Interface.Atspi_Action ()
|
2014-04-20 23:04:25 -07:00
|
|
|
{
|
|
|
|
eo_prefix: elm_interface_atspi_action;
|
|
|
|
data: null;
|
2015-05-07 09:32:53 -07:00
|
|
|
methods {
|
2016-05-12 07:41:56 -07:00
|
|
|
@property name @protected @virtual_pure {
|
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
|
|
|
}
|
|
|
|
}
|
2016-05-12 07:41:56 -07:00
|
|
|
@property description @protected @virtual_pure {
|
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 {
|
2016-05-12 07:41:56 -07:00
|
|
|
get @virtual_pure {
|
2015-08-07 06:26:50 -07:00
|
|
|
[[Get list of available widget actions]]
|
2014-04-20 23:04:25 -07:00
|
|
|
}
|
|
|
|
values {
|
2016-05-23 07:41:28 -07:00
|
|
|
actions: list<Elm_Atspi_Action>; [[contains statically allocated strings]]
|
2014-04-20 23:04:25 -07:00
|
|
|
}
|
|
|
|
}
|
2016-05-12 07:41:56 -07:00
|
|
|
action_do @protected @virtual_pure {
|
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
|
|
|
}
|
2016-05-12 07:41:56 -07:00
|
|
|
keybinding_get @protected @virtual_pure {
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|