efl/legacy/elementary/src/lib/elm_interface_atspi_accessi...

161 lines
4.8 KiB
Plaintext
Raw Normal View History

mixin Elm_Interface_Atspi_Accessible ()
{
legacy_prefix: null;
eo_prefix: elm_interface_atspi_accessible;
data: Elm_Interface_Atspi_Accessible_Data;
2015-05-07 09:32:53 -07:00
methods {
@property localized_role_name @protected {
get {
2015-08-06 06:53:50 -07:00
[[Gets an localized string describing ATSPI widget role name.]]
}
values {
localized_name: const(char)*;
}
}
2015-05-07 09:32:53 -07:00
@property name @protected {
get {
2015-08-06 06:53:50 -07:00
[[Gets an string describing ATSPI widget role name. Should be free by a user.]]
}
set {
}
values {
2015-08-06 06:53:50 -07:00
name: char*; [[obj name]]
}
}
2015-05-07 09:32:53 -07:00
@property relation_set @protected {
get {
2015-08-06 06:53:50 -07:00
[[Gets an string describing ATSPI widget role name. Lists and elements Should be free by a user.]]
}
values {
relations: own(list<own(Elm_Atspi_Relation *)> *);
}
}
2015-05-07 09:32:53 -07:00
@property role @protected {
get {
2015-08-06 06:53:50 -07:00
[[Gets the role of the widget in ATSPI Accessibility domain.]]
}
set {
}
values {
role: Elm_Atspi_Role;
}
}
2015-05-07 09:32:53 -07:00
@property children @protected {
get {
2015-08-06 06:53:50 -07:00
[[Gets widget's accessible children.]]
}
values {
children: free(own(list<Elm_Interface_Atspi_Accessible *> *), eina_list_free);
}
}
2015-05-07 09:32:53 -07:00
@property role_name @protected {
get {
2015-08-06 06:53:50 -07:00
[[Gets human-readable string indentifying widget accessibility role.]]
}
values {
role_name: const(char)*;
}
}
2015-05-07 09:32:53 -07:00
@property attributes @protected {
get {
2015-08-06 06:53:50 -07:00
[[Gets key-value pairs indentifying widget extra attributes. Must be free by a user.]]
}
values {
attributes: free(own(list<own(Elm_Atspi_Attribute *)> *), elm_atspi_attributes_list_free);
}
}
2015-05-07 09:32:53 -07:00
@property index_in_parent @protected {
get {
2015-08-06 06:53:50 -07:00
[[Gets index of the child in parent's children list.]]
}
values {
idx: int;
}
}
2015-05-07 09:32:53 -07:00
@property description @protected {
get {
2015-08-06 06:53:50 -07:00
[[Gets widget contextual information.]]
}
set {
2015-08-06 06:53:50 -07:00
[[Sets contextual information about widget.]]
}
values {
description: const(char)*;
}
}
2015-05-07 09:32:53 -07:00
@property parent @protected {
get {
2015-08-06 06:53:50 -07:00
[[Gets widget accessible parent.]]
}
set {
2015-08-06 06:53:50 -07:00
[[Sets widget accessible parent.]]
}
values {
parent: Elm_Interface_Atspi_Accessible *;
}
}
2015-05-07 09:32:53 -07:00
@property state_set @protected {
get {
2015-08-06 06:53:50 -07:00
[[Gets set describing widget accessible states.]]
}
values {
states: Elm_Atspi_State_Set;
}
}
event_handler_add @class @protected {
[[Register accessibility event listener]]
params {
@in cb: Eo_Event_Cb; [[callback]]
@in data: void*; [[data]]
}
return: Elm_Atspi_Event_Handler*; [[Event handler]]
}
event_handler_del @class @protected {
[[Deregister accessibility event listener]]
params {
@in handler: Elm_Atspi_Event_Handler *; [[Event handler]]
}
}
event_emit @class @protected {
params {
@in accessible: Elm_Interface_Atspi_Accessible *; [[Accessibility object.]]
@in event: const(Eo_Event_Description)*; [[Accessibility event type.]]
@in event_info: void*; [[Accessibility event details.]]
}
}
@property translation_domain @protected {
get {
[[Gets the translation domain of "name" and "description"
properties.]]
}
set {
[[Sets the translation domain of "name" and "description"
properties.
Translation domain should be set if application wants to support i18n
for accessibily "name" and "description" properties.
When translation domain is set values of "name" and "description"
properties will be translated with dgettext function using
current translation domain as "domainname" parameter.
It is application developer responsibility to ensure that
translation files are loaded and binded to translation domain
when accessibility is enabled.]]
}
values {
domain: const(char)*; [[ translation domain ]]
}
}
}
events {
property,changed: const(char)*;
children,changed: Elm_Atspi_Event_Children_Changed_Data;
state,changed: Elm_Atspi_Event_State_Changed_Data;
visible,data,changed;
active,descendants,changed;
added;
removed;
}
}