git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@64278
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
};
EAPI void elm_gen_clear(Evas_Object *obj);
EAPI void elm_gen_item_selected_set(Elm_Gen_Item *it, Eina_Bool selected);
+ EAPI Eina_Bool elm_gen_item_selected_get(const Elm_Gen_Item *it);
/**
* @defgroup Gengrid Gengrid (Generic grid)
evas_event_thaw(evas_object_evas_get(wd->obj));
evas_event_thaw_eval(evas_object_evas_get(wd->obj));
}
+
+EAPI Eina_Bool
+elm_gen_item_selected_get(const Elm_Gen_Item *it)
+{
+ ELM_WIDGET_ITEM_WIDTYPE_CHECK_OR_RETURN(it, EINA_FALSE);
+ return it->selected;
+}