efl/legacy/elementary/src/lib/elm_interface_atspi_action.eo

80 lines
1.8 KiB
Plaintext
Raw Normal View History

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 {
get {
/*@ Gets action name for given id */
}
values {
const(char)* name;
}
keys {
int id;
}
}
2014-07-22 08:36:29 -07:00
localized_name @protected {
get {
/*@ Gets localized action name for given id */
}
values {
const(char)* name;
}
keys {
int id;
}
}
2014-07-22 08:36:29 -07:00
description @protected {
get {
/*@ Gets action description for given id */
}
set {
/*@ Sets action description for given id */
return: bool;
}
values {
const(char)* description;
}
keys {
int id;
}
}
2014-07-22 08:36:29 -07:00
actions @protected {
get {
/*@ Get list of available widget actions */
}
values {
list<Elm_Atspi_Action> *actions; /*@ contains statically allocated strings */
}
}
}
methods {
2014-07-22 08:36:29 -07:00
action_do @protected {
/*@ Performs action on given widget. */
params {
@in int id;
}
return: bool;
}
2014-07-22 08:36:29 -07:00
keybinding_get @protected {
/*@ Gets configured keybinding for specific action and widget.
returned pointer should be free by a user.*/
params {
@in int id;
}
return: own(char *) @warn_unused;
}
}
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;
}
}