2016-04-19 08:10:49 -07:00
|
|
|
/* FIXME: This definitely shouldn't be here. */
|
2016-11-03 03:51:14 -07:00
|
|
|
type Efl_Event_Cb: __undefined_type; [[Efl event callback type]]
|
2016-04-19 08:10:49 -07:00
|
|
|
|
2015-11-26 07:53:32 -08:00
|
|
|
enum Elm.Atspi.Type
|
|
|
|
{
|
|
|
|
[[Type of accessibility object]]
|
|
|
|
regular, [[default accessibile object]]
|
|
|
|
disabled, [[skip object and its children in accessibility hierarchy]]
|
|
|
|
skipped [[skip object in accessibility hierarchy]]
|
|
|
|
}
|
|
|
|
|
2016-02-01 06:14:17 -08:00
|
|
|
enum Elm.Atspi.Role
|
|
|
|
{
|
|
|
|
[[Describes the role of an object visible to AT-SPI Clients.]]
|
2016-10-24 04:18:26 -07:00
|
|
|
invalid, [[Role: invalid]]
|
|
|
|
accelerator_label, [[Role: accelerator label]]
|
|
|
|
alert, [[Role: alert]]
|
|
|
|
animation, [[Role: animation]]
|
|
|
|
arrow, [[Role: arrow]]
|
|
|
|
calendar, [[Role: calendar]]
|
|
|
|
canvas, [[Role: canvas]]
|
|
|
|
check_box, [[Role: check box]]
|
|
|
|
check_menu_item, [[Role: check menu item]]
|
|
|
|
color_chooser, [[Role: color chooser]]
|
|
|
|
column_header, [[Role: column header]]
|
|
|
|
combo_box, [[Role: combo box]]
|
|
|
|
date_editor, [[Role: data editor]]
|
|
|
|
desktop_icon, [[Role: desktop icon]]
|
|
|
|
desktop_frame, [[Role: desktop frame]]
|
|
|
|
dial, [[Role: dial]]
|
|
|
|
dialog, [[Role: dialog]]
|
|
|
|
directory_pane, [[Role: directory pane]]
|
|
|
|
drawing_area, [[Role: drawing area]]
|
|
|
|
file_chooser, [[Role: file chooser]]
|
|
|
|
filler, [[Role: filler]]
|
|
|
|
focus_traversable, [[Role: focus traversable]]
|
|
|
|
font_chooser, [[Role: font chooser]]
|
|
|
|
frame, [[Role: frame]]
|
|
|
|
glass_pane, [[Role: glass pane]]
|
|
|
|
html_container, [[Role: HTML container]]
|
|
|
|
icon, [[Role: icon]]
|
|
|
|
image, [[Role: image]]
|
|
|
|
internal_frame, [[Role: internal frame]]
|
|
|
|
label, [[Role: label]]
|
|
|
|
layered_pane, [[Role: layered pane]]
|
|
|
|
list, [[Role: list]]
|
|
|
|
list_item, [[Role: list item]]
|
|
|
|
menu, [[Role: menu]]
|
|
|
|
menu_bar, [[Role: menu bar]]
|
|
|
|
menu_item, [[Role: menu item]]
|
|
|
|
option_pane, [[Role: option pane]]
|
|
|
|
page_tab, [[Role: page tab]]
|
|
|
|
page_tab_list, [[Role: page tab list]]
|
|
|
|
panel, [[Role: panel]]
|
|
|
|
password_text, [[Role: password text]]
|
|
|
|
popup_menu, [[Role: popup menu]]
|
|
|
|
progress_bar, [[Role: progress bar]]
|
|
|
|
push_button, [[Role: push button]]
|
|
|
|
radio_button, [[Role: radio button]]
|
|
|
|
radio_menu_item, [[Role: radio menu item]]
|
|
|
|
root_pane, [[Role: root pane]]
|
|
|
|
row_header, [[Role: row header]]
|
|
|
|
scroll_bar, [[Role: scroll bar]]
|
|
|
|
scroll_pane, [[Role: scroll pane]]
|
|
|
|
separator, [[Role: separator]]
|
|
|
|
slider, [[Role: slider]]
|
|
|
|
spin_button, [[Role: spin button]]
|
|
|
|
split_pane, [[Role: split pane]]
|
|
|
|
status_bar, [[Role: status bar]]
|
|
|
|
table, [[Role: table]]
|
|
|
|
table_cell, [[Role: table cell]]
|
|
|
|
table_column_header, [[Role: table column header]]
|
|
|
|
table_row_header, [[Role: table row header]]
|
|
|
|
tearoff_menu_item, [[Role: tearoff menu item]]
|
|
|
|
terminal, [[Role: terminal]]
|
|
|
|
text, [[Role: text]]
|
|
|
|
toggle_button, [[Role: toggle button]]
|
|
|
|
tool_bar, [[Role: too bar]]
|
|
|
|
tool_tip, [[Role: tool tip]]
|
|
|
|
tree, [[Role: tree]]
|
|
|
|
tree_table, [[Role: tree table]]
|
|
|
|
unknown, [[Role: unknown]]
|
|
|
|
viewport, [[Role: viewport]]
|
|
|
|
window, [[Role: window]]
|
|
|
|
extended, [[Role: extended]]
|
|
|
|
header, [[Role: header]]
|
|
|
|
footer, [[Role: footer]]
|
|
|
|
paragraph, [[Role: paragraph]]
|
|
|
|
ruler, [[Role: ruler]]
|
|
|
|
application, [[Role: application]]
|
|
|
|
autocomplete, [[Role: autocomplete]]
|
|
|
|
editbar, [[Role: editbar]]
|
|
|
|
embedded, [[Role: embedded]]
|
|
|
|
entry, [[Role: entry]]
|
|
|
|
chart, [[Role: chart]]
|
|
|
|
caption, [[Role: caption]]
|
|
|
|
document_frame, [[Role: document frame]]
|
|
|
|
heading, [[Role: heading]]
|
|
|
|
page, [[Role: page]]
|
|
|
|
section, [[Role: section]]
|
|
|
|
redundant_object, [[Role: redundant object]]
|
|
|
|
form, [[Role: form]]
|
|
|
|
link, [[Role: link]]
|
|
|
|
input_method_window, [[Role: input method window]]
|
|
|
|
table_row, [[Role: table row]]
|
|
|
|
tree_item, [[Role: table item]]
|
|
|
|
document_spreadsheet, [[Role: document spreadsheet]]
|
|
|
|
document_presentation, [[Role: document presentation]]
|
|
|
|
document_text, [[Role: document text]]
|
|
|
|
document_web, [[Role: document web]]
|
|
|
|
document_email, [[Role: document email]]
|
|
|
|
comment, [[Role: comment]]
|
|
|
|
list_box, [[Role: list box]]
|
|
|
|
grouping, [[Role: grouping]]
|
|
|
|
image_map, [[Role: image map]]
|
|
|
|
notification, [[Role: notification]]
|
|
|
|
info_bar, [[Role: info bar]]
|
|
|
|
last_defined, [[Last enum entry sentinel]]
|
2016-02-01 06:14:17 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
enum Elm.Atspi.State_Type
|
|
|
|
{
|
|
|
|
[[Describes a possible states of an object visible to AT-SPI clients.]]
|
|
|
|
legacy: elm_atspi_state;
|
2016-10-24 04:18:26 -07:00
|
|
|
invalid, [[State: invalid]]
|
|
|
|
active, [[State: active]]
|
|
|
|
armed, [[State: armed]]
|
|
|
|
busy, [[State: busy]]
|
|
|
|
checked, [[State: checked]]
|
|
|
|
collapsed, [[State: collapsed]]
|
|
|
|
defunct, [[State: defunct]]
|
|
|
|
editable, [[State: editable]]
|
|
|
|
enabled, [[State: enabled]]
|
|
|
|
expandable, [[State: expandable]]
|
|
|
|
expanded, [[State: expanded]]
|
|
|
|
focusable, [[State: focusable]]
|
|
|
|
focused, [[State: focused]]
|
|
|
|
has_tooltip, [[State: has a tooltip]]
|
|
|
|
horizontal, [[State: horizontal]]
|
|
|
|
iconified, [[State: iconified]]
|
|
|
|
modal, [[State: modal]]
|
|
|
|
multi_line, [[State: multi line]]
|
|
|
|
multiselectable, [[State: multiselectable]]
|
|
|
|
opaque, [[State: opaque]]
|
|
|
|
pressed, [[State: pressed]]
|
|
|
|
resizable, [[State: resizable]]
|
|
|
|
selectable, [[State: selectable]]
|
|
|
|
selected, [[State: selected]]
|
|
|
|
sensitive, [[State: sensitive]]
|
|
|
|
showing, [[State: showing]]
|
|
|
|
single_line, [[State: single line]]
|
|
|
|
stale, [[State: stale]]
|
|
|
|
transient, [[State: transient]]
|
|
|
|
vertical, [[State: vertical]]
|
|
|
|
visible, [[State: visible]]
|
|
|
|
manages_descendants, [[State: manage descendants]]
|
|
|
|
indeterminate, [[State: indeterminate]]
|
|
|
|
required, [[State: required]]
|
|
|
|
truncated, [[State: truncated]]
|
|
|
|
animated, [[State: animated]]
|
|
|
|
invalid_entry, [[State: invalid entry]]
|
|
|
|
supports_autocompletion, [[State: supports autocompletion]]
|
|
|
|
selectable_text, [[State: selectable text]]
|
|
|
|
is_default, [[State: is default]]
|
|
|
|
visited, [[State: visited]]
|
|
|
|
last_defined, [[Last enum entry sentinel]]
|
2016-02-01 06:14:17 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
enum Elm.Atspi.Relation_Type
|
|
|
|
{
|
|
|
|
[[Describes relation between two objects.]]
|
|
|
|
legacy: elm_atspi_relation;
|
2016-10-24 04:18:26 -07:00
|
|
|
null, [[No relation]]
|
|
|
|
label_for, [[Label for relation]]
|
|
|
|
labelled_by, [[Labelled by relation]]
|
|
|
|
controller_for, [[Controller for relation]]
|
|
|
|
controlled_by, [[Controlled by relation]]
|
|
|
|
member_of, [[Member of relation]]
|
|
|
|
tooltip_for, [[Tooltip for relation]]
|
|
|
|
node_child_of, [[Node child of relation]]
|
|
|
|
node_parent_of, [[Node parent of relation]]
|
|
|
|
extended, [[Extended relation]]
|
|
|
|
flows_to, [[Flows to relation]]
|
|
|
|
flows_from, [[Flows from relation]]
|
|
|
|
subwindow_of, [[Subwindow of relation]]
|
|
|
|
embeds, [[Embeds relation]]
|
|
|
|
embedded_by, [[Embedded by relation]]
|
|
|
|
popup_for, [[Popup for relation]]
|
|
|
|
parent_window_of, [[Parent window of relation]]
|
|
|
|
description_for, [[Description for relation]]
|
|
|
|
described_by, [[Described by relation]]
|
|
|
|
last_defined, [[Last enum entry sentinel]]
|
2016-02-01 06:14:17 -08:00
|
|
|
}
|
|
|
|
|
2016-11-04 02:31:24 -07:00
|
|
|
type Elm.Atspi.State_Set: uint64; [[AT-SPI object state set.]]
|
2016-02-01 06:14:17 -08:00
|
|
|
|
2016-11-04 02:31:24 -07:00
|
|
|
struct Elm.Atspi.Event.Handler; [[AT-SPI event listener]]
|
2016-02-01 06:14:17 -08:00
|
|
|
|
|
|
|
struct Elm.Atspi.Event.State_Changed.Data
|
|
|
|
{
|
2016-11-04 02:31:24 -07:00
|
|
|
[[AT-SPI state changed event data]]
|
2016-10-21 07:14:27 -07:00
|
|
|
type: Elm.Atspi.State_Type; [[Type of the state changed event]]
|
|
|
|
new_value: bool; [[New value]]
|
2016-02-01 06:14:17 -08:00
|
|
|
}
|
|
|
|
|
2016-06-27 11:30:01 -07:00
|
|
|
struct Elm.Atspi.Event.Geometry_Changed.Data
|
|
|
|
{
|
2016-11-04 02:31:24 -07:00
|
|
|
[[AT-SPI geometry changed event data]]
|
2016-10-21 07:14:27 -07:00
|
|
|
x: int; [[X coordinate]]
|
|
|
|
y: int; [[Y coordinate]]
|
|
|
|
width: int; [[Width]]
|
|
|
|
height: int; [[Height]]
|
2016-06-27 11:30:01 -07:00
|
|
|
}
|
|
|
|
|
2016-02-01 06:14:17 -08:00
|
|
|
struct Elm.Atspi.Event.Children_Changed.Data
|
|
|
|
{
|
2016-11-04 02:31:24 -07:00
|
|
|
[[AT-SPI children changed event data]]
|
2016-10-21 07:14:27 -07:00
|
|
|
is_added: bool; [[Child is added or not]]
|
|
|
|
child: Efl.Object; [[Child object]]
|
2016-02-01 06:14:17 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
struct Elm.Atspi.Attribute
|
|
|
|
{
|
2016-11-04 02:31:24 -07:00
|
|
|
[[AT-SPI Attribute]]
|
2016-10-21 07:14:27 -07:00
|
|
|
key: string; [[Attribute key]]
|
|
|
|
value: string; [[Attribute value]]
|
2016-02-01 06:14:17 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
struct Elm.Atspi.Relation
|
|
|
|
{
|
2016-11-04 02:31:24 -07:00
|
|
|
[[AT-SPI Relation]]
|
2016-10-21 07:14:27 -07:00
|
|
|
type: Elm.Atspi.Relation_Type; [[Relation type]]
|
|
|
|
objects: list<Efl.Object>; [[List with relation objects]]
|
2016-02-01 06:14:17 -08:00
|
|
|
}
|
|
|
|
|
2016-11-09 06:45:23 -08:00
|
|
|
type Elm.Atspi.Relation_Set: list<ptr(Elm.Atspi.Relation)>; [[Elementary AT-SPI relation set type]]
|
2016-02-01 06:14:17 -08:00
|
|
|
|
2016-11-14 11:10:57 -08:00
|
|
|
mixin Elm.Interface.Atspi_Accessible (Efl.Interface, Efl.Object)
|
2014-04-20 20:46:11 -07:00
|
|
|
{
|
2016-11-04 02:31:24 -07:00
|
|
|
[[AT-SPI accessible mixin]]
|
2014-04-20 20:46:11 -07:00
|
|
|
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 {
|
2016-11-04 02:31:24 -07:00
|
|
|
[[Gets an localized string describing AT-SPI widget role name.]]
|
2014-04-20 20:46:11 -07:00
|
|
|
get {
|
|
|
|
}
|
|
|
|
values {
|
2016-06-30 07:34:24 -07:00
|
|
|
localized_name: string; [[Localized widget role name]]
|
2014-04-20 20:46:11 -07:00
|
|
|
}
|
|
|
|
}
|
2015-11-18 04:34:39 -08:00
|
|
|
@property name {
|
2016-11-04 02:31:24 -07:00
|
|
|
[[String describing AT-SPI widget role name. Should be free by a user.]]
|
2014-04-20 20:46:11 -07:00
|
|
|
get {
|
|
|
|
}
|
|
|
|
set {
|
|
|
|
}
|
|
|
|
values {
|
2016-11-09 17:58:41 -08:00
|
|
|
name: string; [[Object name]]
|
2014-04-20 20:46:11 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property relation_set @protected {
|
2016-11-04 02:31:24 -07:00
|
|
|
[[Gets an string describing AT-SPI widget role name. Lists and elements Should be free by a user.]]
|
2014-04-20 20:46:11 -07:00
|
|
|
get {
|
2014-05-28 01:12:34 -07:00
|
|
|
}
|
|
|
|
values {
|
2016-10-21 07:15:12 -07:00
|
|
|
relations: Elm.Atspi.Relation_Set; [[Widget relation set]]
|
2014-04-20 20:46:11 -07:00
|
|
|
}
|
|
|
|
}
|
2015-11-18 04:34:39 -08:00
|
|
|
@property role {
|
2016-11-04 02:31:24 -07:00
|
|
|
[[The role of the widget in AT-SPI Accessibility domain.]]
|
2014-04-20 20:46:11 -07:00
|
|
|
get {
|
|
|
|
}
|
|
|
|
set {
|
|
|
|
}
|
|
|
|
values {
|
2016-10-21 07:15:12 -07:00
|
|
|
role: Elm.Atspi.Role; [[Widget role]]
|
2014-04-20 20:46:11 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property children @protected {
|
2016-06-30 07:34:24 -07:00
|
|
|
[[Gets widget's accessible children.]]
|
2014-04-20 20:46:11 -07:00
|
|
|
get {
|
|
|
|
}
|
|
|
|
values {
|
2016-10-21 07:15:12 -07:00
|
|
|
children: free(own(list<Elm.Interface.Atspi_Accessible>), eina_list_free); [[List of widget's children]]
|
2014-04-20 20:46:11 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property role_name @protected {
|
2016-06-30 07:34:24 -07:00
|
|
|
[[Gets human-readable string indentifying widget accessibility role.]]
|
2014-04-20 20:46:11 -07:00
|
|
|
get {
|
|
|
|
}
|
|
|
|
values {
|
2016-10-21 07:15:12 -07:00
|
|
|
role_name: string; [[Widget role name]]
|
2014-04-20 20:46:11 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property attributes @protected {
|
2016-06-30 07:34:24 -07:00
|
|
|
[[Gets key-value pairs indentifying widget extra attributes. Must be free by a user.]]
|
2014-04-20 20:46:11 -07:00
|
|
|
get {
|
2014-05-28 01:12:34 -07:00
|
|
|
}
|
|
|
|
values {
|
2016-11-09 06:45:23 -08:00
|
|
|
attributes: free(own(list<own(ptr(Elm.Atspi.Attribute))>), elm_atspi_attributes_list_free); [[List of widget attributes]]
|
2014-04-20 20:46:11 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property index_in_parent @protected {
|
2016-06-30 07:34:24 -07:00
|
|
|
[[Gets index of the child in parent's children list.]]
|
2014-04-20 20:46:11 -07:00
|
|
|
get {
|
|
|
|
}
|
|
|
|
values {
|
2016-10-21 07:15:12 -07:00
|
|
|
idx: int; [[Index in children list]]
|
2014-04-20 20:46:11 -07:00
|
|
|
}
|
|
|
|
}
|
2015-11-18 04:34:39 -08:00
|
|
|
@property description {
|
2016-06-30 07:34:24 -07:00
|
|
|
[[Widget contextual information.]]
|
2014-04-20 20:46:11 -07:00
|
|
|
get {
|
|
|
|
}
|
|
|
|
set {
|
|
|
|
}
|
|
|
|
values {
|
2016-06-30 07:34:24 -07:00
|
|
|
description: string; [[Widget contextual information]]
|
2014-04-20 20:46:11 -07:00
|
|
|
}
|
|
|
|
}
|
2015-11-18 04:34:39 -08:00
|
|
|
@property parent {
|
2016-06-30 07:34:24 -07:00
|
|
|
[[Widget accessible parent.]]
|
2014-04-20 20:46:11 -07:00
|
|
|
get {
|
|
|
|
}
|
|
|
|
set {
|
|
|
|
}
|
|
|
|
values {
|
2016-10-21 07:15:12 -07:00
|
|
|
parent: Elm.Interface.Atspi_Accessible; [[Widget parent]]
|
2014-04-20 20:46:11 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property state_set @protected {
|
2016-06-30 07:34:24 -07:00
|
|
|
[[Gets set describing widget accessible states.]]
|
2014-04-20 20:46:11 -07:00
|
|
|
get {
|
|
|
|
}
|
|
|
|
values {
|
2016-10-21 07:15:12 -07:00
|
|
|
states: Elm.Atspi.State_Set; [[Widget states]]
|
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 {
|
2016-08-10 07:23:04 -07:00
|
|
|
@in cb: Efl_Event_Cb; [[callback]]
|
2016-06-02 04:54:59 -07:00
|
|
|
@in data: void_ptr; [[data]]
|
2015-09-03 05:07:23 -07:00
|
|
|
}
|
2016-11-09 06:45:23 -08:00
|
|
|
return: ptr(Elm.Atspi.Event.Handler); [[Event handler]]
|
2015-09-03 05:07:23 -07:00
|
|
|
}
|
|
|
|
event_handler_del @class @protected {
|
|
|
|
[[Deregister accessibility event listener]]
|
|
|
|
params {
|
2016-11-09 06:45:23 -08:00
|
|
|
@in handler: ptr(Elm.Atspi.Event.Handler); [[Event handler]]
|
2015-09-03 05:07:23 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
event_emit @class @protected {
|
|
|
|
params {
|
2016-05-23 07:41:28 -07:00
|
|
|
@in accessible: Elm.Interface.Atspi_Accessible; [[Accessibility object.]]
|
2016-11-09 06:45:23 -08:00
|
|
|
@in event: ptr(const(Efl.Event.Description)); [[Accessibility event type.]]
|
2016-06-02 04:54:59 -07:00
|
|
|
@in event_info: void_ptr; [[Accessibility event details.]]
|
2015-09-03 05:07:23 -07:00
|
|
|
}
|
|
|
|
}
|
2015-11-18 04:34:39 -08:00
|
|
|
@property translation_domain {
|
2016-06-30 07:34:24 -07:00
|
|
|
[[Sets the translation domain of "name" and "description"
|
|
|
|
properties.
|
2015-10-02 08:04:38 -07:00
|
|
|
|
2016-06-30 07:34:24 -07:00
|
|
|
Translation domain should be set if application wants to support i18n
|
|
|
|
for accessibily "name" and "description" properties.
|
2015-10-02 08:04:38 -07:00
|
|
|
|
2016-06-30 07:34:24 -07:00
|
|
|
When translation domain is set values of "name" and "description"
|
|
|
|
properties will be translated with dgettext function using
|
|
|
|
current translation domain as "domainname" parameter.
|
2015-10-02 08:04:38 -07:00
|
|
|
|
2016-06-30 07:34:24 -07:00
|
|
|
It is application developer responsibility to ensure that
|
|
|
|
translation files are loaded and binded to translation domain
|
|
|
|
when accessibility is enabled.]]
|
|
|
|
get {
|
|
|
|
}
|
|
|
|
set {
|
2015-10-02 08:04:38 -07:00
|
|
|
}
|
|
|
|
values {
|
2016-06-30 07:34:24 -07:00
|
|
|
domain: string; [[Translation domain]]
|
2015-10-02 08:04:38 -07:00
|
|
|
}
|
|
|
|
}
|
2015-11-26 07:53:32 -08:00
|
|
|
@property type {
|
2016-06-30 07:34:24 -07:00
|
|
|
[[Type of accessibility object]]
|
2015-11-26 07:53:32 -08:00
|
|
|
get {
|
|
|
|
}
|
|
|
|
set {
|
|
|
|
}
|
|
|
|
values {
|
2016-10-21 07:15:12 -07:00
|
|
|
type: Elm.Atspi.Type; [[Object type]]
|
2015-11-26 07:53:32 -08:00
|
|
|
}
|
|
|
|
}
|
2015-11-18 04:34:39 -08:00
|
|
|
relationship_append {
|
2015-10-04 13:30:31 -07:00
|
|
|
[[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
|
2016-10-21 07:15:12 -07:00
|
|
|
object A.]]
|
|
|
|
return: bool; [[EINA_TRUE is relationship was successfully appended, EINA_FALSE otherwise]]
|
2015-10-04 13:30:31 -07:00
|
|
|
params {
|
2016-10-21 07:15:12 -07:00
|
|
|
@in type: Elm.Atspi.Relation_Type; [[Relation type]]
|
|
|
|
@in relation_object: const(Elm.Interface.Atspi_Accessible); [[Object to relate to]]
|
2015-10-04 13:30:31 -07:00
|
|
|
}
|
|
|
|
}
|
2015-11-18 04:34:39 -08:00
|
|
|
relationship_remove {
|
2015-10-04 13:30:31 -07:00
|
|
|
[[Removes the relationship between two accessible objects.
|
|
|
|
|
|
|
|
If relation_object is NULL function removes all relations
|
|
|
|
of given type.
|
|
|
|
]]
|
|
|
|
params {
|
2016-10-21 07:15:12 -07:00
|
|
|
@in type: Elm.Atspi.Relation_Type; [[Relation type]]
|
|
|
|
@in relation_object: const(Elm.Interface.Atspi_Accessible); [[Object to remove relation from]]
|
2015-10-04 13:30:31 -07:00
|
|
|
}
|
|
|
|
}
|
2015-11-18 04:34:39 -08:00
|
|
|
relationships_clear {
|
2015-10-04 13:30:31 -07:00
|
|
|
[[Removes all relationships in accessible object.]]
|
|
|
|
}
|
2015-09-09 04:58:14 -07:00
|
|
|
@property root @class {
|
|
|
|
get {
|
|
|
|
[[Get root object of accessible object hierarchy]]
|
|
|
|
values {
|
2016-10-21 07:15:12 -07:00
|
|
|
ret: Efl.Object; [[Root object]]
|
2015-09-09 04:58:14 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-04-20 20:46:11 -07:00
|
|
|
}
|
2016-11-14 11:10:57 -08:00
|
|
|
implements {
|
|
|
|
Efl.Object.destructor;
|
|
|
|
}
|
2014-04-20 20:46:11 -07:00
|
|
|
events {
|
2016-10-24 04:28:52 -07:00
|
|
|
property,changed: string; [[Called when roperty has changed]]
|
|
|
|
children,changed: Elm.Atspi.Event.Children_Changed.Data; [[Called when children have changed]]
|
|
|
|
state,changed: Elm.Atspi.Event.State_Changed.Data; [[Called when tate has changed]]
|
|
|
|
bounds,changed: Elm.Atspi.Event.Geometry_Changed.Data; [[Called when bounds have changed]]
|
|
|
|
visible,data,changed; [[Called when visibility has changed]]
|
|
|
|
active,descendant,changed; [[Called when active state of descendant has changed]]
|
|
|
|
added; [[Called when item was added]]
|
|
|
|
removed; [[Called when item was removed]]
|
2014-04-20 20:46:11 -07:00
|
|
|
}
|
|
|
|
}
|