EINA_DEPRECATED EAPI const Evas_Object *elm_gengrid_item_object_get(const Elm_Object_Item *it);
/**
+ * Update the item class of a gengrid item.
+ *
+ * This sets another class of the item, changing the way that it is
+ * displayed. After changing the item class, elm_gengrid_item_update() is
+ * called on the item @p it.
+ *
+ * @param it The gengrid item
+ * @param gic The gengrid item class describing the function pointers and the item style.
+ *
+ * @deprecated Use elm_gengrid_item_item_class_update instead
+ * @ingroup Gengrid
+ */
+EINA_DEPRECATED EAPI void elm_gengrid_item_item_class_set(Elm_Object_Item *it, const Elm_Gengrid_Item_Class *gic);
+
+
+/**
* Append a filter function for text inserted in the entry
*
* Append the given callback to the list. This functions will be called
return (Elm_Gengrid_Item_Class *) elm_genlist_item_item_class_get(it);
}
-EAPI void
+EINA_DEPRECATED EAPI void
elm_gengrid_item_item_class_set(Elm_Object_Item *it,
const Elm_Gengrid_Item_Class *itc)
{
+ elm_gengrid_item_item_class_update(it, itc);
+}
+
+EAPI void
+elm_gengrid_item_item_class_update(Elm_Object_Item *it,
+ const Elm_Gengrid_Item_Class *itc)
+{
ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
EINA_SAFETY_ON_NULL_RETURN(itc);
Elm_Gen_Item *_it = (Elm_Gen_Item *) it;
EAPI const Elm_Gengrid_Item_Class *elm_gengrid_item_item_class_get(const Elm_Object_Item *it);
/**
- * Get the Gengrid Item class for the given Gengrid Item.
+ * Update the item class of a gengrid item.
*
- * This sets the Gengrid_Item_Class for the given item. It can be used to examine
- * the function pointers and item_style.
+ * This sets another class of the item, changing the way that it is
+ * displayed. After changing the item class, elm_gengrid_item_update() is
+ * called on the item @p it.
*
* @param it The gengrid item
* @param gic The gengrid item class describing the function pointers and the item style.
*
* @ingroup Gengrid
*/
-EAPI void elm_gengrid_item_item_class_set(Elm_Object_Item *it, const Elm_Gengrid_Item_Class *gic);
+EAPI void elm_gengrid_item_item_class_update(Elm_Object_Item *it, const Elm_Gengrid_Item_Class *gic);
/**
* Get a given gengrid item's position, relative to the whole
* have only one tooltip at a time, so any previous tooltip data
* will get removed.
*
+ * In order to set a content or something else as a tooltip, look at
+ * elm_gengrid_item_tooltip_content_cb_set().
+ *
* @ingroup Gengrid
*/
EAPI void elm_gengrid_item_tooltip_text_set(Elm_Object_Item *it, const char *text);
* return a valid Evas object, which will be fully managed by the
* tooltip system, getting deleted when the tooltip is gone.
*
+ * In order to set just a text as a tooltip, look at
+ * elm_gengrid_item_tooltip_text_set().
+ *
* @ingroup Gengrid
*/
EAPI void elm_gengrid_item_tooltip_content_cb_set(Elm_Object_Item *it, Elm_Tooltip_Item_Content_Cb func, const void *data, Evas_Smart_Cb del_cb);