if (item->atspi_translation_domain)
eina_stringshare_del(item->atspi_translation_domain);
//
- //Tizen Only(20160728) free attribute list
- if (item->attr_list)
- {
- Elm_Atspi_Attribute *attr;
- EINA_LIST_FREE(item->attr_list, attr)
- {
- eina_stringshare_del(attr->key);
- eina_stringshare_del(attr->value);
- free(attr);
- }
- }
- //
//TIZEN_ONLY(20161013): clean up elm color class feature
if (item->color_classes)
if (sd->atspi_translation_domain)
eina_stringshare_del(sd->atspi_translation_domain);
//
- //Tizen Only(20160728) free attribute list
- if (sd->attr_list)
- {
- Elm_Atspi_Attribute *attr;
- EINA_LIST_FREE(sd->attr_list, attr)
- {
- eina_stringshare_del(attr->key);
- eina_stringshare_del(attr->value);
- free(attr);
- }
- }
- //
eo_do_super(obj, ELM_WIDGET_CLASS, eo_destructor());
sd->on_destroy = EINA_FALSE;
return attr_list;
}
+EOLIAN static Eina_List *
+_elm_widget_item_elm_interface_atspi_accessible_attributes_get(Eo *eo_item, Elm_Widget_Item_Data *pd EINA_UNUSED)
+{
+ Eina_List *attr_list = NULL;
+ eo_do_super(eo_item, ELM_WIDGET_ITEM_CLASS, attr_list = elm_interface_atspi_accessible_attributes_get());
+ Elm_Atspi_Attribute *attr = NULL;
+ attr = calloc(1, sizeof(Elm_Atspi_Attribute));
+ if (attr)
+ {
+ attr->key = eina_stringshare_add("style");
+ attr->value = eina_stringshare_add(elm_object_item_style_get(eo_item));
+ attr_list = eina_list_append(attr_list, attr);
+ }
+ return attr_list;
+}
+
//TIZEN_ONLY(20150709) : atspi relations api
EOLIAN static Elm_Atspi_Relation_Set
_elm_widget_elm_interface_atspi_accessible_relation_set_get(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd)
//TIZEN_ONLY(20150731) : add i18n support for name and description
const char *atspi_translation_domain;
///
- //TIZEN_ONLY(20160725): Add attributes set function and store the list
- Eina_List *attr_list;
- //
/* this is a hook to be set on-the-fly on widgets. this is code
* handling the request of showing a specific region from an inner
Elm_Atspi_Relation_Set atspi_custom_relations; /**< Developer-defined accessiblity relations */
///////////////////////////////////
const char *name;
- //TIZEN_ONLY(20160725): Add attributes set function and store the list
- Eina_List *attr_list;
- //
//TIZEN_ONLY(20150731) : add i18n support for name and description
const char *atspi_translation_domain;
///