2014-04-20 23:04:25 -07:00
|
|
|
mixin Elm_Interface_Atspi_Action ()
|
|
|
|
{
|
|
|
|
legacy_prefix: null;
|
|
|
|
eo_prefix: elm_interface_atspi_action;
|
|
|
|
data: null;
|
|
|
|
properties {
|
2014-07-22 08:36:29 -07:00
|
|
|
name @protected {
|
2014-04-20 23:04:25 -07:00
|
|
|
get {
|
|
|
|
/*@ Gets action name for given id */
|
|
|
|
}
|
|
|
|
values {
|
2014-06-26 05:24:20 -07:00
|
|
|
const(char)* name;
|
2014-04-20 23:04:25 -07:00
|
|
|
}
|
|
|
|
keys {
|
|
|
|
int id;
|
|
|
|
}
|
|
|
|
}
|
2014-07-22 08:36:29 -07:00
|
|
|
localized_name @protected {
|
2014-04-20 23:04:25 -07:00
|
|
|
get {
|
|
|
|
/*@ Gets localized action name for given id */
|
|
|
|
}
|
|
|
|
values {
|
2014-06-26 05:24:20 -07:00
|
|
|
const(char)* name;
|
2014-04-20 23:04:25 -07:00
|
|
|
}
|
|
|
|
keys {
|
|
|
|
int id;
|
|
|
|
}
|
|
|
|
}
|
2014-07-22 08:36:29 -07:00
|
|
|
description @protected {
|
2014-04-20 23:04:25 -07:00
|
|
|
get {
|
|
|
|
/*@ Gets action description for given id */
|
|
|
|
}
|
|
|
|
set {
|
|
|
|
/*@ 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 {
|
2014-06-26 05:24:20 -07:00
|
|
|
const(char)* description;
|
2014-04-20 23:04:25 -07:00
|
|
|
}
|
|
|
|
keys {
|
|
|
|
int id;
|
|
|
|
}
|
|
|
|
}
|
2014-07-22 08:36:29 -07:00
|
|
|
actions @protected {
|
2014-04-20 23:04:25 -07:00
|
|
|
get {
|
|
|
|
/*@ Get list of available widget actions */
|
|
|
|
}
|
|
|
|
values {
|
2015-04-23 03:46:48 -07:00
|
|
|
list<Elm_Atspi_Action> *actions; /*@ contains statically allocated strings */
|
2014-04-20 23:04:25 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
methods {
|
2014-07-22 08:36:29 -07:00
|
|
|
action_do @protected {
|
2014-04-20 23:04:25 -07:00
|
|
|
/*@ Performs action on given widget. */
|
|
|
|
params {
|
|
|
|
@in int id;
|
|
|
|
}
|
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 {
|
2014-07-25 01:33:19 -07:00
|
|
|
/*@ Gets configured keybinding for specific action and widget.
|
|
|
|
returned pointer should be free by a user.*/
|
2014-04-20 23:04:25 -07:00
|
|
|
params {
|
|
|
|
@in int id;
|
|
|
|
}
|
2015-04-23 03:46:48 -07:00
|
|
|
return: own(char *) @warn_unused;
|
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
|
|
|
}
|
|
|
|
}
|