forked from enlightenment/efl
remove deprecated code related with
elm_index_active_XXX elm_index_item_append_relative elm_index_item_append_relative function. SVN revision: 69239
This commit is contained in:
parent
10b8ef434e
commit
8886ef1e38
|
@ -3830,9 +3830,9 @@
|
|||
* 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
|
||||
|
|
|
@ -76,7 +76,7 @@ _active_set(void *data __UNUSED__,
|
|||
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");
|
||||
}
|
||||
|
|
|
@ -146,7 +146,7 @@ elm_main(int argc __UNUSED__,
|
|||
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;
|
||||
|
|
|
@ -640,18 +640,6 @@ elm_index_add(Evas_Object *parent)
|
|||
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)
|
||||
{
|
||||
|
@ -773,12 +761,6 @@ elm_index_item_prepend(Evas_Object *obj, const char *letter, Evas_Smart_Cb func,
|
|||
return (Elm_Object_Item *)it;
|
||||
}
|
||||
|
||||
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)
|
||||
{
|
||||
|
|
|
@ -80,7 +80,7 @@ EAPI void elm_index_autohide_disabled_set(Evas_Object *obj, Ein
|
|||
* @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
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue