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-07-11 06:44:47 -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 {
|
|
|
|
Eina_List *actions; /*@ contains statically allocated strings */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
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-07-11 06:44:47 -07:00
|
|
|
return bool;
|
2014-04-20 23:04:25 -07:00
|
|
|
}
|
2014-07-22 08:36:29 -07:00
|
|
|
keybinding_get @protected {
|
2014-04-20 23:04:25 -07:00
|
|
|
/*@ Gets configured keybinding for specific action and widget. */
|
|
|
|
params {
|
|
|
|
@in int id;
|
|
|
|
}
|
2014-06-26 05:24:20 -07:00
|
|
|
return const(char)*;
|
2014-04-20 23:04:25 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
implements {
|
2014-06-20 02:47:39 -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
|
|
|
}
|
|
|
|
}
|