it_xpos = it_xpos - ((vw - sd->item_width) / 2);
it_ypos = it_ypos - ((vh - sd->item_height) / 2);
break;
+ // @tizen_feature
+ case ELM_GENGRID_ITEM_SCROLLTO_BOTTOM:
+ eo_do(WIDGET(it), elm_interface_scrollable_content_viewport_geometry_get
+ (NULL, NULL, &vw, &vh));
+ it_xpos = it_xpos - vw + sd->item_width;
+ it_ypos = it_ypos - vh + sd->item_height;
+ break;
+ ///
default:
vw = sd->item_width;
vh = sd->item_height;
}
EOLIAN char*
-_elm_gengrid_item_elm_interface_atspi_accessible_name_get(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it)
+_elm_gengrid_item_elm_interface_atspi_accessible_name_get(Eo *eo_it, Elm_Gen_Item *it)
{
char *ret;
Eina_Strbuf *buf;
+ eo_do_super(eo_it, ELM_GENGRID_ITEM_CLASS, ret = elm_interface_atspi_accessible_name_get());
+ if (ret) return ret;
+
buf = eina_strbuf_new();
if (it->itc->func.text_get)
Evas_Object *part;
part = edje_object_part_swallow_get(VIEW(it), key);
if (part && eo_isa(part, ELM_INTERFACE_ATSPI_ACCESSIBLE_MIXIN))
- ret = eina_list_append(ret, part);
+ {
+ ret = eina_list_append(ret, part);
+ eo_do(part, elm_interface_atspi_accessible_parent_set(eo_it));
+ }
}
}
return ret;
STATE_TYPE_SET(ret, ELM_ATSPI_STATE_MANAGES_DESCENDANTS);
+ if (elm_gengrid_multi_select_get(obj))
+ STATE_TYPE_SET(ret, ELM_ATSPI_STATE_MULTISELECTABLE);
+
return ret;
}