|
| Evas_Object * | elm_access_object_register (Evas_Object *obj, Evas_Object *parent) |
| | Register evas object as an accessible object.
|
| |
| void | elm_access_object_unregister (Evas_Object *obj) |
| | Unregister accessible object.
|
| |
| Evas_Object * | elm_access_object_get (const Evas_Object *obj) |
| | Get an accessible object of the evas object.
|
| |
| void | elm_access_info_set (Evas_Object *obj, int type, const char *text) |
| | Set text to give information for specific type.
|
| |
| char * | elm_access_info_get (const Evas_Object *obj, int type) |
| | Set text to give information for specific type.
|
| |
| void | elm_access_info_cb_set (Evas_Object *obj, int type, Elm_Access_Info_Cb func, const void *data) |
| | Set content callback to give information for specific type.
|
| |
| void | elm_access_activate_cb_set (Evas_Object *obj, Elm_Access_Activate_Cb func, void *data) |
| | Set activate callback to activate highlight object.
|
| |
| void | elm_access_say (const char *text) |
| | Read out text information directly.
|
| |
| void | elm_access_highlight_set (Evas_Object *obj) |
| | Give the highlight to the object directly.
|
| |
| Eina_Bool | elm_access_action (Evas_Object *obj, const Elm_Access_Action_Type type, Elm_Access_Action_Info *action_info) |
| | Do the accessibility action base on given object.
|
| |
| void | elm_access_action_cb_set (Evas_Object *obj, const Elm_Access_Action_Type type, const Elm_Access_Action_Cb cb, const void *data) |
| | Set a callback function to a given accessibility action type.
|
| |
| void | elm_access_highlight_next_set (Evas_Object *obj, Elm_Highlight_Direction dir, Evas_Object *next) |
| | Set the next access object for highlight.
|
| |
| Eina_Bool | elm_config_access_get (void) |
| | Get access mode.
|
| |
| void | elm_config_access_set (Eina_Bool is_access) |
| | Set access mode.
|
| |
WARNING! this API is not finalized. It is unstable. - do not use it if you want no breaks in future.
| void elm_access_info_cb_set |
( |
Evas_Object * | obj, |
|
|
int | type, |
|
|
Elm_Access_Info_Cb | func, |
|
|
const void * | data ) |
Set content callback to give information for specific type.
- Since
- 1.8
- Parameters
-
| obj | Accessible object. |
| type | The type of content that will be read |
| func | The function to be called when the content is read |
| data | The data pointer to be passed to func |
The type would be one of ELM_ACCESS_TYPE, ELM_ACCESS_INFO, ELM_ACCESS_STATE, ELM_ACCESS_CONTEXT_INFO.
In the case of button widget, the content of ELM_ACCESS_TYPE would be "button". The label of button such as "ok", "cancel" is for ELM_ACCESS_INFO. If the button is disabled, content of ELM_ACCESS_STATE would be "disabled". And if there is contextual information, use ELM_ACCESS_CONTEXT_INFO.
Do the accessibility action base on given object.
- Since
- 1.8
- Parameters
-
| obj | The object that could be an any object. it would be useful to use a container widget. |
| type | The type of accessibility action. |
| action_info | The action information of action type to give more specific information. |
- Returns
EINA_TRUE on success, EINA_FALSE otherwise
The return value would be useful, when the type is ELM_ACCESS_ACTION_HIGHLIGHT_NEXT or ELM_ACCESS_ACTION_HIGHLIGHT_PREV. If there is no way to give a highlight, EINA_FALSE will be returned.
References EINA_FALSE, EINA_TRUE, ELM_FOCUS_NEXT, ELM_FOCUS_PREVIOUS, and evas_object_evas_get().