* data on the index widget.
*
* The first of the three buttons that follow will call
- * elm_index_active_set(), thus showing the index automatically for
+ * elm_index_autohide_disabled_set(), thus showing the index automatically for
* you, if it's not already visible, what is checked with
- * elm_index_active_get(). The second button will exercise @b deletion
+ * elm_index_autohide_disabled_get(). The second button will exercise @b deletion
* of index item objects, by the following code:
* @dontinclude index_example_01.c
* @skip delete an index item
Evas_Object *obj __UNUSED__,
void *event_info __UNUSED__)
{
- elm_index_active_set(d.index, !elm_index_active_get(d.index));
+ elm_index_autohide_disabled_set(d.index, !elm_index_autohide_disabled_get(d.index));
fprintf(stdout, "Toggling index programmatically.\n");
}
evas_object_resize(win, 320, 300);
evas_object_show(win);
- elm_index_active_set(index, EINA_TRUE);
+ elm_index_autohide_disabled_set(index, EINA_FALSE);
elm_run();
return 0;
return obj;
}
-EINA_DEPRECATED EAPI void
-elm_index_active_set(Evas_Object *obj, Eina_Bool active)
-{
- elm_index_autohide_disabled_set(obj, !active);
-}
-
-EINA_DEPRECATED EAPI Eina_Bool
-elm_index_active_get(const Evas_Object *obj)
-{
- return !elm_index_autohide_disabled_get(obj);
-}
-
EAPI void
elm_index_autohide_disabled_set(Evas_Object *obj, Eina_Bool disabled)
{
}
EINA_DEPRECATED EAPI Elm_Object_Item *
-elm_index_item_append_relative(Evas_Object *obj, const char *letter, const void *item, const Elm_Object_Item *relative)
-{
- return elm_index_item_insert_after(obj, (Elm_Object_Item *) relative, letter, NULL, item);
-}
-
-EINA_DEPRECATED EAPI Elm_Object_Item *
elm_index_item_prepend_relative(Evas_Object *obj, const char *letter, const void *item, const Elm_Object_Item *relative)
{
return elm_index_item_insert_before(obj, (Elm_Object_Item *) relative, letter, NULL, item);
* @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
*/