2014-04-20 20:46:11 -07:00
|
|
|
mixin Elm_Interface_Atspi_Accessible ()
|
|
|
|
{
|
|
|
|
legacy_prefix: null;
|
|
|
|
eo_prefix: elm_interface_atspi_accessible;
|
2015-10-01 08:24:42 -07:00
|
|
|
data: Elm_Interface_Atspi_Accessible_Data;
|
2015-05-07 09:32:53 -07:00
|
|
|
methods {
|
|
|
|
@property localized_role_name @protected {
|
2014-04-20 20:46:11 -07:00
|
|
|
get {
|
2015-08-06 06:53:50 -07:00
|
|
|
[[Gets an localized string describing ATSPI widget role name.]]
|
2014-04-20 20:46:11 -07:00
|
|
|
}
|
|
|
|
values {
|
2015-05-18 08:16:08 -07:00
|
|
|
localized_name: const(char)*;
|
2014-04-20 20:46:11 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property name @protected {
|
2014-04-20 20:46:11 -07:00
|
|
|
get {
|
2015-08-06 06:53:50 -07:00
|
|
|
[[Gets an string describing ATSPI widget role name. Should be free by a user.]]
|
2014-04-20 20:46:11 -07:00
|
|
|
}
|
|
|
|
set {
|
|
|
|
}
|
|
|
|
values {
|
2015-08-06 06:53:50 -07:00
|
|
|
name: char*; [[obj name]]
|
2014-04-20 20:46:11 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property relation_set @protected {
|
2014-04-20 20:46:11 -07:00
|
|
|
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.]]
|
2014-05-28 01:12:34 -07:00
|
|
|
}
|
|
|
|
values {
|
2015-05-18 08:16:08 -07:00
|
|
|
relations: own(list<own(Elm_Atspi_Relation *)> *);
|
2014-04-20 20:46:11 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property role @protected {
|
2014-04-20 20:46:11 -07:00
|
|
|
get {
|
2015-08-06 06:53:50 -07:00
|
|
|
[[Gets the role of the widget in ATSPI Accessibility domain.]]
|
2014-04-20 20:46:11 -07:00
|
|
|
}
|
|
|
|
set {
|
|
|
|
}
|
|
|
|
values {
|
2015-05-18 08:16:08 -07:00
|
|
|
role: Elm_Atspi_Role;
|
2014-04-20 20:46:11 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property children @protected {
|
2014-04-20 20:46:11 -07:00
|
|
|
get {
|
2015-08-06 06:53:50 -07:00
|
|
|
[[Gets widget's accessible children.]]
|
2014-04-20 20:46:11 -07:00
|
|
|
}
|
|
|
|
values {
|
2015-10-01 08:24:42 -07:00
|
|
|
children: free(own(list<Elm_Interface_Atspi_Accessible *> *), eina_list_free);
|
2014-04-20 20:46:11 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property role_name @protected {
|
2014-04-20 20:46:11 -07:00
|
|
|
get {
|
2015-08-06 06:53:50 -07:00
|
|
|
[[Gets human-readable string indentifying widget accessibility role.]]
|
2014-04-20 20:46:11 -07:00
|
|
|
}
|
|
|
|
values {
|
2015-05-18 08:16:08 -07:00
|
|
|
role_name: const(char)*;
|
2014-04-20 20:46:11 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property attributes @protected {
|
2014-04-20 20:46:11 -07:00
|
|
|
get {
|
2015-08-06 06:53:50 -07:00
|
|
|
[[Gets key-value pairs indentifying widget extra attributes. Must be free by a user.]]
|
2014-05-28 01:12:34 -07:00
|
|
|
}
|
|
|
|
values {
|
2015-05-18 08:16:08 -07:00
|
|
|
attributes: free(own(list<own(Elm_Atspi_Attribute *)> *), elm_atspi_attributes_list_free);
|
2014-04-20 20:46:11 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property index_in_parent @protected {
|
2014-04-20 20:46:11 -07:00
|
|
|
get {
|
2015-08-06 06:53:50 -07:00
|
|
|
[[Gets index of the child in parent's children list.]]
|
2014-04-20 20:46:11 -07:00
|
|
|
}
|
|
|
|
values {
|
2015-05-18 08:16:08 -07:00
|
|
|
idx: int;
|
2014-04-20 20:46:11 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property description @protected {
|
2014-04-20 20:46:11 -07:00
|
|
|
get {
|
2015-08-06 06:53:50 -07:00
|
|
|
[[Gets widget contextual information.]]
|
2014-04-20 20:46:11 -07:00
|
|
|
}
|
|
|
|
set {
|
2015-08-06 06:53:50 -07:00
|
|
|
[[Sets contextual information about widget.]]
|
2014-04-20 20:46:11 -07:00
|
|
|
}
|
|
|
|
values {
|
2015-05-18 08:16:08 -07:00
|
|
|
description: const(char)*;
|
2014-04-20 20:46:11 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property parent @protected {
|
2014-04-20 20:46:11 -07:00
|
|
|
get {
|
2015-08-06 06:53:50 -07:00
|
|
|
[[Gets widget accessible parent.]]
|
2014-04-20 20:46:11 -07:00
|
|
|
}
|
|
|
|
set {
|
2015-08-06 06:53:50 -07:00
|
|
|
[[Sets widget accessible parent.]]
|
2014-04-20 20:46:11 -07:00
|
|
|
}
|
|
|
|
values {
|
2015-10-01 08:24:42 -07:00
|
|
|
parent: Elm_Interface_Atspi_Accessible *;
|
2014-04-20 20:46:11 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property state_set @protected {
|
2014-04-20 20:46:11 -07:00
|
|
|
get {
|
2015-08-06 06:53:50 -07:00
|
|
|
[[Gets set describing widget accessible states.]]
|
2014-04-20 20:46:11 -07:00
|
|
|
}
|
|
|
|
values {
|
2015-05-18 08:16:08 -07:00
|
|
|
states: Elm_Atspi_State_Set;
|
2014-04-20 20:46:11 -07:00
|
|
|
}
|
|
|
|
}
|
2015-09-03 05:07:23 -07:00
|
|
|
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 {
|
2015-10-01 08:24:42 -07:00
|
|
|
@in accessible: Elm_Interface_Atspi_Accessible *; [[Accessibility object.]]
|
2015-09-03 05:07:23 -07:00
|
|
|
@in event: const(Eo_Event_Description)*; [[Accessibility event type.]]
|
|
|
|
@in event_info: void*; [[Accessibility event details.]]
|
|
|
|
}
|
|
|
|
}
|
2015-10-02 08:04:38 -07:00
|
|
|
@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 ]]
|
|
|
|
}
|
|
|
|
}
|
2014-04-20 20:46:11 -07:00
|
|
|
}
|
|
|
|
events {
|
2014-07-15 15:53:18 -07:00
|
|
|
property,changed: const(char)*;
|
|
|
|
children,changed: Elm_Atspi_Event_Children_Changed_Data;
|
|
|
|
state,changed: Elm_Atspi_Event_State_Changed_Data;
|
2014-04-20 20:46:11 -07:00
|
|
|
visible,data,changed;
|
|
|
|
active,descendants,changed;
|
2015-09-03 05:07:23 -07:00
|
|
|
added;
|
|
|
|
removed;
|
2014-04-20 20:46:11 -07:00
|
|
|
}
|
|
|
|
}
|