*/
EAPI void elm_genlist_item_update(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
/**
+ * Promote an item to the top of the list
+ *
+ * @param it The item
+ *
+ * @ingroup Genlist
+ */
+ EAPI void elm_genlist_item_promote(Elm_Gen_Item *it) EINA_ARG_NONNULL(1);
+ /**
+ * Demote an item to the end of the list
+ *
+ * @param it The item
+ *
+ * @ingroup Genlist
+ */
+ EAPI void elm_genlist_item_demote(Elm_Gen_Item *it) EINA_ARG_NONNULL(1);
+ /**
* Update the item class of an item
*
* @param it The item
}
EAPI void
+elm_genlist_item_promote(Elm_Gen_Item *it)
+{
+ ELM_WIDGET_ITEM_WIDTYPE_CHECK_OR_RETURN(it);
+ if (it->delete_me) return;
+ _item_move_before(it, elm_gen_first_item_get(WIDGET(it)));
+}
+
+EAPI void
+elm_genlist_item_demote(Elm_Gen_Item *it)
+{
+ ELM_WIDGET_ITEM_WIDTYPE_CHECK_OR_RETURN(it);
+ if (it->delete_me) return;
+ _item_move_after(it, elm_gen_last_item_get(WIDGET(it)));
+}
+
+EAPI void
elm_genlist_item_bring_in(Elm_Gen_Item *it)
{
ELM_WIDGET_ITEM_WIDTYPE_CHECK_OR_RETURN(it);