Page MenuHomePhabricator

efl_access: Add attribute_append, attributes_clear APIs

Authored by shilpasingh on Nov 21 2017, 1:28 AM.



Add attribute append and attributes clear API, attributes of widget/widget_item helps in adding additional information
about the widget/widget item in the form of key-value pair.

Test Plan

Query the attributes using atspi_accessible_get_attributes in atspi_client and an hash table consisting
of updates attributes should be returned.

Signed-Off By: Shilpa Singh <>
Signed-Off By: Lukasz Wlazly <>

Diff Detail

rEFL core/efl
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
shilpasingh created this revision.Nov 21 2017, 1:28 AM
shilpasingh edited the test plan for this revision. (Show Details)Nov 21 2017, 7:33 AM
This revision was automatically updated to reflect the committed changes.
singh.amitesh added inline comments.

there is no need to add const(string) since its an input.
This resulted into lots of compilation warnings while building ELM.

100s of these
" ./src/lib/elementary/efl_access.eo.h:433:55: warning: duplicate ‘const’ declaration specifier

EOAPI void efl_access_attribute_append(Eo *obj, const const char *key, const const char *value);