/**
* @defgroup Index Index
+ * @ingroup Elementary
*
* @image html img/widget/index/preview-00.png
* @image latex img/widget/index/preview-00.eps
* @ingroup Index
*/
EAPI void elm_index_autohide_disabled_set(Evas_Object *obj, Eina_Bool disabled);
-EAPI void elm_index_active_set(Evas_Object *obj, Eina_Bool active);
/**
* Get whether auto hiding feature is enabled or not for a given index widget.
* @param obj The index object
* @return @c EINA_TRUE, if auto hiding is disabled, @c EINA_FALSE otherwise
*
- * @see elm_index_active_set() for more details
+ * @see elm_index_autohide_disabled_set() for more details
*
* @ingroup Index
*/
EAPI Eina_Bool elm_index_autohide_disabled_get(const Evas_Object *obj);
-EAPI Eina_Bool elm_index_active_get(const Evas_Object *obj);
/**
* Set the items level for a given index widget.
*
* Selected items will be highlighted.
*
- * @see elm_index_item_selected_get()
* @see elm_index_selected_item_get()
*
* @ingroup Index
* Returns the last selected item, for a given index widget.
*
* @param obj The index object.
+ * @param level @c 0 or @c 1, the currently implemented levels.
* @return The last item @b selected on @p obj (or @c NULL, on errors).
*
* @ingroup Index
*/
EAPI Elm_Object_Item *elm_index_selected_item_get(const Evas_Object *obj, int level);
-EAPI Elm_Object_Item *elm_index_item_selected_get(const Evas_Object *obj, int level);
/**
* Append a new item on a given index widget.
* @param letter Letter under which the item should be indexed
* @param func The function to call when the item is selected.
* @param data The item data to set for the index's item
- * @return A handle to the item added or @c NULL, on errors
+ * @return A handle to the item added or @c NULL, on errors
*
* Despite the most common usage of the @p letter argument is for
* single char strings, one could use arbitrary strings as index
*
* @ingroup Index
*/
-EAPI Elm_Object_Item *elm_index_item_append(Evas_Object *obj, const char *letter, const void *data);
+EAPI Elm_Object_Item *elm_index_item_append(Evas_Object *obj, const char *letter, Evas_Smart_Cb func, const void *data);
/**
* Prepend a new item on a given index widget.
* @param letter Letter under which the item should be indexed
* @param func The function to call when the item is selected.
* @param data The item data to set for the index's item
- * @return A handle to the item added or @c NULL, on errors
+ * @return A handle to the item added or @c NULL, on errors
*
* Despite the most common usage of the @p letter argument is for
* single char strings, one could use arbitrary strings as index
*
* @ingroup Index
*/
-EAPI Elm_Object_Item *elm_index_item_prepend(Evas_Object *obj, const char *letter, const void *data);
+EAPI Elm_Object_Item *elm_index_item_prepend(Evas_Object *obj, const char *letter, Evas_Smart_Cb func, const void *data);
/**
* Insert a new item into the index object after item @p after.
* @param letter Letter under which the item should be indexed
* @param func The function to call when the item is clicked.
* @param data The item data to set for the index's item
- * @return A handle to the item added or @c NULL, on errors
+ * @return A handle to the item added or @c NULL, on errors
*
* Despite the most common usage of the @p letter argument is for
* single char strings, one could use arbitrary strings as index
* @ingroup Index
*/
EAPI Elm_Object_Item *elm_index_item_insert_after(Evas_Object *obj, Elm_Object_Item *after, const char *letter, Evas_Smart_Cb func, const void *data);
-EAPI Elm_Object_Item *elm_index_item_append_relative(Evas_Object *obj, const char *letter, const void *data, const Elm_Object_Item *relative);
/**
* Insert a new item into the index object before item @p before.
* @param letter Letter under which the item should be indexed
* @param func The function to call when the item is clicked.
* @param data The item data to set for the index's item
- * @return A handle to the item added or @c NULL, on errors
+ * @return A handle to the item added or @c NULL, on errors
*
* Despite the most common usage of the @p letter argument is for
* single char strings, one could use arbitrary strings as index
* @ingroup Index
*/
EAPI Elm_Object_Item *elm_index_item_insert_before(Evas_Object *obj, Elm_Object_Item *before, const char *letter, Evas_Smart_Cb func, const void *data);
-EAPI Elm_Object_Item *elm_index_item_prepend_relative(Evas_Object *obj, const char *letter, const void *data, const Elm_Object_Item *relative);
/**
* Insert a new item into the given index widget, using @p cmp_func
* because all references to it will be lost. If this function is
* not provided (@c NULL is given), index items will be @b
* duplicated, if @p cmp_func returns @c 0.
- * @return A handle to the item added or @c NULL, on errors
+ * @return A handle to the item added or @c NULL, on errors
*
* Despite the most common usage of the @p letter argument is for
* single char strings, one could use arbitrary strings as index
*
* @ingroup Index
*/
-EAPI Elm_Object_Item *elm_index_item_sorted_insert(Evas_Object *obj, const char *letter, const void *data, Eina_Compare_Cb cmp_func, Eina_Compare_Cb cmp_data_func);
+EAPI Elm_Object_Item *elm_index_item_sorted_insert(Evas_Object *obj, const char *letter, Evas_Smart_Cb func, const void *data, Eina_Compare_Cb cmp_func, Eina_Compare_Cb cmp_data_func);
/**
* Find a given index widget's item, <b>using item data</b>.
* @ingroup Index
*/
EAPI void elm_index_level_go(Evas_Object *obj, int level);
-EAPI void elm_index_item_go(Evas_Object *obj, int level);
/**
* Get the letter (string) set on a given index widget item.