Tizen Native API
4.0
|
Functions | |
Eina_Bool | elm_atspi_accessible_relationship_append (Elm_Interface_Atspi_Accessible *obj, Elm_Atspi_Relation_Type type, const Elm_Interface_Atspi_Accessible *relation_object) |
Defines the relationship between two accessible objects. | |
void | elm_atspi_accessible_relationship_remove (Elm_Interface_Atspi_Accessible *obj, Elm_Atspi_Relation_Type type, const Elm_Interface_Atspi_Accessible *relation_object) |
Removes the relationship between two accessible objects. | |
const char * | elm_atspi_accessible_translation_domain_get (const Elm_Interface_Atspi_Accessible *obj) |
Gets the translation domain of "name" and "description" properties. | |
void | elm_atspi_accessible_translation_domain_set (Elm_Interface_Atspi_Accessible *obj, const char *domain) |
Sets the translation domain of "name" and "description" properties. | |
void | elm_atspi_accessible_name_set (Elm_Interface_Atspi_Accessible *obj, const char *name) |
Sets an accessible name of the object. | |
const char * | elm_atspi_accessible_name_get (const Elm_Interface_Atspi_Accessible *obj) |
Gets an accessible name of the object. | |
void | elm_atspi_accessible_name_cb_set (Elm_Interface_Atspi_Accessible *obj, Elm_Atspi_Reading_Info_Cb name_cb, const void *data) |
Sets name information callback about widget. | |
void | elm_atspi_accessible_role_set (Elm_Interface_Atspi_Accessible *obj, Elm_Atspi_Role role) |
Sets the role of the object in accessibility domain. | |
Elm_Atspi_Role | elm_atspi_accessible_role_get (const Elm_Interface_Atspi_Accessible *obj) |
Gets the role of the object in accessibility domain. | |
void | elm_atspi_accessible_reading_info_type_set (Elm_Interface_Atspi_Accessible *obj, Elm_Atspi_Reading_Info_Type_Mask reading_info) |
Gets reading information of an accessible object. | |
Elm_Atspi_Reading_Info_Type_Mask | elm_atspi_accessible_reading_info_type_get (const Elm_Interface_Atspi_Accessible *obj) |
Gets reading information types of an accessible object. | |
void | elm_atspi_accessible_description_set (Elm_Interface_Atspi_Accessible *obj, const char *description) |
Sets widget contextual information. | |
const char * | elm_atspi_accessible_description_get (const Elm_Interface_Atspi_Accessible *obj) |
Gets contextual information about object. | |
void | elm_atspi_accessible_description_cb_set (Elm_Interface_Atspi_Accessible *obj, Elm_Atspi_Reading_Info_Cb description_cb, const void *data) |
Sets contextual information callback about widget. | |
void | elm_atspi_accessible_gesture_cb_set (Elm_Interface_Atspi_Accessible *obj, Elm_Atspi_Gesture_Cb gesutre_cb, const void *data) |
Sets gesture callback to give widget. | |
void | elm_atspi_accessible_can_highlight_set (Elm_Interface_Atspi_Accessible *obj, Eina_Bool can_highlight) |
Sets highlightable to given widget. | |
Eina_Bool | elm_atspi_accessible_can_highlight_get (const Elm_Interface_Atspi_Accessible *obj) |
Gets highlightable of given widget. | |
void | elm_atspi_accessible_attribute_append (Elm_Interface_Atspi_Accessible *obj, const char *key, const char *value) |
Add key-value pair identifying widget extra attribute. | |
void | elm_atspi_accessible_relationships_clear (Elm_Interface_Atspi_Accessible *obj) |
Removes all relationships in accessible object. | |
void | elm_atspi_attributes_list_free (Eina_List *list) |
void | elm_atspi_relation_free (Elm_Atspi_Relation *relation) |
Elm_Atspi_Relation * | elm_atspi_relation_clone (const Elm_Atspi_Relation *relation) |
Eina_Bool | elm_atspi_relation_set_relation_append (Elm_Atspi_Relation_Set *set, Elm_Atspi_Relation_Type type, const Eo *rel_obj) |
void | elm_atspi_relation_set_relation_remove (Elm_Atspi_Relation_Set *set, Elm_Atspi_Relation_Type type, const Eo *rel_obj) |
void | elm_atspi_relation_set_relation_type_remove (Elm_Atspi_Relation_Set *set, Elm_Atspi_Relation_Type type) |
void | elm_atspi_relation_set_free (Elm_Atspi_Relation_Set *set) |
Elm_Atspi_Relation_Set | elm_atspi_relation_set_clone (const Elm_Atspi_Relation_Set *set) |
Typedefs | |
typedef char *(* | Elm_Atspi_Reading_Info_Cb )(void *data, Evas_Object *obj) |
typedef unsigned int | Elm_Atspi_Reading_Info_Type_Mask |
typedef enum _Elm_Atspi_Gesture_Type | Elm_Atspi_Gesture_Type |
typedef enum _Elm_Atspi_Gesture_State | Elm_Atspi_Gesture_State |
typedef struct _Elm_Atspi_Gesture_Info | Elm_Atspi_Gesture_Info |
typedef Eina_Bool(* | Elm_Atspi_Gesture_Cb )(void *data, Elm_Atspi_Gesture_Info gesture_info, Evas_Object *obj) |
typedef enum _Elm_Atspi_Role | Elm_Atspi_Role |
typedef enum _Elm_Atspi_State_Type | Elm_Atspi_State_Type |
typedef enum _Elm_Atspi_Relation_Type | Elm_Atspi_Relation_Type |
typedef Eina_Bool(* Elm_Atspi_Gesture_Cb)(void *data, Elm_Atspi_Gesture_Info gesture_info, Evas_Object *obj) |
This callback type is used to provide accessibility gesture information.
data | The data specified as the last param when setting this callback |
obj | The accessible object specified as the fisrt param when setting this callback |
true
if application consumes gesutre, false
if application does not consume gesture, then assistive technology client consumes gesture typedef struct _Elm_Atspi_Gesture_Info Elm_Atspi_Gesture_Info |
Detailed information of gesture that is emitted on assistive technology client side.
typedef enum _Elm_Atspi_Gesture_State Elm_Atspi_Gesture_State |
State of gesture that is emitted on assistive technology client side.
typedef enum _Elm_Atspi_Gesture_Type Elm_Atspi_Gesture_Type |
Type of gesture that is emitted on assistive technology client side.
elm_atspi_accessible_attribute_append(obj, "gesture_required", "scroll");
typedef char*(* Elm_Atspi_Reading_Info_Cb)(void *data, Evas_Object *obj) |
This callback type is used to provide accessibility reading information.
data | The data specified as the last param when setting this callback |
obj | The accessible object specified as the fisrt param when setting this callback |
typedef unsigned int Elm_Atspi_Reading_Info_Type_Mask |
A Elm_Accessible_Reading_Info_Type mask indicating which types of reading information are requested.
typedef enum _Elm_Atspi_Relation_Type Elm_Atspi_Relation_Type |
Elm_Atspi_Relation_Type describes relation between two objects.
typedef enum _Elm_Atspi_Role Elm_Atspi_Role |
Describes the role of an object visible to assistive technology client.
typedef enum _Elm_Atspi_State_Type Elm_Atspi_State_Type |
Describes a possible states of an object visible to AT-SPI clients.
void elm_atspi_accessible_attribute_append | ( | Elm_Interface_Atspi_Accessible * | obj, |
const char * | key, | ||
const char * | value | ||
) |
Add key-value pair identifying widget extra attribute.
[in] | obj | The object. |
[in] | key | The string key to give extra information |
[in] | value | The string value to give extra information |
Eina_Bool elm_atspi_accessible_can_highlight_get | ( | const Elm_Interface_Atspi_Accessible * | obj | ) |
Gets highlightable of given widget.
[in] | obj | The object. |
true
, the object is highlightable void elm_atspi_accessible_can_highlight_set | ( | Elm_Interface_Atspi_Accessible * | obj, |
Eina_Bool | can_highlight | ||
) |
Sets highlightable to given widget.
[in] | obj | The object. |
[in] | can_highlight | If true , the object is highlightable |
void elm_atspi_accessible_description_cb_set | ( | Elm_Interface_Atspi_Accessible * | obj, |
Elm_Atspi_Reading_Info_Cb | description_cb, | ||
const void * | data | ||
) |
Sets contextual information callback about widget.
[in] | obj | The object. |
[in] | description_cb | The function called to provide the accessible description |
[in] | data | The data passed to description_cb |
const char* elm_atspi_accessible_description_get | ( | const Elm_Interface_Atspi_Accessible * | obj | ) |
Gets contextual information about object.
[in] | obj | The object. |
void elm_atspi_accessible_description_set | ( | Elm_Interface_Atspi_Accessible * | obj, |
const char * | description | ||
) |
Sets widget contextual information.
[in] | obj | The object. |
[in] | description | Accessible contextual information |
void elm_atspi_accessible_gesture_cb_set | ( | Elm_Interface_Atspi_Accessible * | obj, |
Elm_Atspi_Gesture_Cb | gesutre_cb, | ||
const void * | data | ||
) |
Sets gesture callback to give widget.
[in] | obj | The object. |
[in] | gesutre_cb | The function called to get gesture information |
[in] | data | The data passed to description_cb |
void elm_atspi_accessible_name_cb_set | ( | Elm_Interface_Atspi_Accessible * | obj, |
Elm_Atspi_Reading_Info_Cb | name_cb, | ||
const void * | data | ||
) |
Sets name information callback about widget.
[in] | obj | The object. |
[in] | name_cb | The function called to provide the accessible name |
[in] | data | The data passed to name_cb |
const char* elm_atspi_accessible_name_get | ( | const Elm_Interface_Atspi_Accessible * | obj | ) |
Gets an accessible name of the object.
[in] | obj | The object. |
void elm_atspi_accessible_name_set | ( | Elm_Interface_Atspi_Accessible * | obj, |
const char * | name | ||
) |
Sets an accessible name of the object.
[in] | obj | The object. |
[in] | name | Accessible name |
Elm_Atspi_Reading_Info_Type_Mask elm_atspi_accessible_reading_info_type_get | ( | const Elm_Interface_Atspi_Accessible * | obj | ) |
Gets reading information types of an accessible object.
[in] | obj | The object. |
void elm_atspi_accessible_reading_info_type_set | ( | Elm_Interface_Atspi_Accessible * | obj, |
Elm_Atspi_Reading_Info_Type_Mask | reading_info | ||
) |
Gets reading information of an accessible object.
[in] | obj | The object. |
[in] | reading_info | Reading information types |
Eina_Bool elm_atspi_accessible_relationship_append | ( | Elm_Interface_Atspi_Accessible * | obj, |
Elm_Atspi_Relation_Type | type, | ||
const Elm_Interface_Atspi_Accessible * | relation_object | ||
) |
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
[in] | obj | The object. |
[in] | type | Relation type between two objects |
[in] | relation_object | Relation object of source object |
void elm_atspi_accessible_relationship_remove | ( | Elm_Interface_Atspi_Accessible * | obj, |
Elm_Atspi_Relation_Type | type, | ||
const Elm_Interface_Atspi_Accessible * | relation_object | ||
) |
Removes the relationship between two accessible objects.
If relation_object is NULL function removes all relations of given type.
[in] | obj | The object. |
[in] | type | Relation type between two objects |
[in] | relation_object | Relation object of source object |
void elm_atspi_accessible_relationships_clear | ( | Elm_Interface_Atspi_Accessible * | obj | ) |
Removes all relationships in accessible object.
[in] | obj | The object. |
Elm_Atspi_Role elm_atspi_accessible_role_get | ( | const Elm_Interface_Atspi_Accessible * | obj | ) |
Gets the role of the object in accessibility domain.
[in] | obj | The object. |
void elm_atspi_accessible_role_set | ( | Elm_Interface_Atspi_Accessible * | obj, |
Elm_Atspi_Role | role | ||
) |
Sets the role of the object in accessibility domain.
[in] | obj | The object. |
[in] | role | Accessible role |
const char* elm_atspi_accessible_translation_domain_get | ( | const Elm_Interface_Atspi_Accessible * | obj | ) |
Gets the translation domain of "name" and "description" properties.
[in] | obj | The object. |
void elm_atspi_accessible_translation_domain_set | ( | Elm_Interface_Atspi_Accessible * | obj, |
const char * | domain | ||
) |
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.
[in] | obj | The object. |
[in] | domain | translation domain |
void elm_atspi_attributes_list_free | ( | Eina_List * | list | ) |
Free Elm_Atspi_Attributes_List
Elm_Atspi_Relation* elm_atspi_relation_clone | ( | const Elm_Atspi_Relation * | relation | ) |
Clones relation.
void elm_atspi_relation_free | ( | Elm_Atspi_Relation * | relation | ) |
Frees relation.
Clones Elm_Atspi_Relation_Set
void elm_atspi_relation_set_free | ( | Elm_Atspi_Relation_Set * | set | ) |
Frees Elm_Atspi_Relation_Set
Eina_Bool elm_atspi_relation_set_relation_append | ( | Elm_Atspi_Relation_Set * | set, |
Elm_Atspi_Relation_Type | type, | ||
const Eo * | rel_obj | ||
) |
Appends relation to relation set
void elm_atspi_relation_set_relation_remove | ( | Elm_Atspi_Relation_Set * | set, |
Elm_Atspi_Relation_Type | type, | ||
const Eo * | rel_obj | ||
) |
Removes relation from relation set
void elm_atspi_relation_set_relation_type_remove | ( | Elm_Atspi_Relation_Set * | set, |
Elm_Atspi_Relation_Type | type | ||
) |
Removes all relation from relation set of a given type