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

197 lines
6.1 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)*;
}
}
@property name {
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: Elm_Atspi_Relation_Set;
}
}
@property role {
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;
}
}
@property description {
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)*;
}
}
@property parent {
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 {
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 ]]
}
}
relationship_append {
[[Defines the relationship between two accessible objects.
Adds unique relation between source object and relation_object of a
given type.
Relationships can be queried by Assistive Technology clients to
provide customized feedback, improving overall user experience.
Relationship_append API is asymmetric, which means that
appending, for example, relation ELM_ATSPI_RELATION_FLOWS_TO from object A to B,
do NOT append relation ELM_ATSPI_RELATION_FLOWS_FROM from object B to
object A.
return: EINA_TRUE is relationship was successfully appended, EINA_FALSE
otherwise]]
return: bool;
params {
@in type: Elm_Atspi_Relation_Type;
@in relation_object: const(Elm_Interface_Atspi_Accessible)*;
}
}
relationship_remove {
[[Removes the relationship between two accessible objects.
If relation_object is NULL function removes all relations
of given type.
]]
params {
@in type: Elm_Atspi_Relation_Type;
@in relation_object: const(Elm_Interface_Atspi_Accessible)*;
}
}
relationships_clear {
[[Removes all relationships in accessible object.]]
}
}
events {
property,changed: const(char)*;
children,changed: Elm_Atspi_Event_Children_Changed_Data;
state,changed: Elm_Atspi_Event_State_Changed_Data;
visible,data,changed;
2015-10-19 04:39:56 -07:00
active,descendant,changed;
added;
removed;
}
}