forked from enlightenment/efl
remove deprecated function related with elm_genlist_item
SVN revision: 68837
This commit is contained in:
parent
d72546d2fb
commit
4c9501159b
|
@ -4590,12 +4590,6 @@ elm_genlist_item_prev_get(const Elm_Object_Item *it)
|
|||
return (Elm_Object_Item *) _it;
|
||||
}
|
||||
|
||||
EINA_DEPRECATED EAPI Evas_Object *
|
||||
elm_genlist_item_genlist_get(const Elm_Object_Item *it)
|
||||
{
|
||||
return elm_object_item_widget_get(it);
|
||||
}
|
||||
|
||||
EAPI Elm_Object_Item *
|
||||
elm_genlist_item_parent_get(const Elm_Object_Item *it)
|
||||
{
|
||||
|
@ -4697,19 +4691,6 @@ elm_genlist_item_expanded_depth_get(const Elm_Object_Item *it)
|
|||
return ((Elm_Gen_Item *)it)->item->expanded_depth;
|
||||
}
|
||||
|
||||
EINA_DEPRECATED EAPI void
|
||||
elm_genlist_item_disabled_set(Elm_Object_Item *it,
|
||||
Eina_Bool disabled)
|
||||
{
|
||||
elm_object_item_disabled_set(it, disabled);
|
||||
}
|
||||
|
||||
EINA_DEPRECATED EAPI Eina_Bool
|
||||
elm_genlist_item_disabled_get(const Elm_Object_Item *it)
|
||||
{
|
||||
return elm_object_item_disabled_get(it);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
elm_genlist_item_display_only_set(Elm_Object_Item *it,
|
||||
Eina_Bool display_only)
|
||||
|
@ -4932,31 +4913,6 @@ elm_genlist_item_middle_bring_in(Elm_Object_Item *it)
|
|||
oh);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
elm_genlist_item_del(Elm_Object_Item *it)
|
||||
{
|
||||
elm_object_item_del(it);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
elm_genlist_item_data_set(Elm_Object_Item *it,
|
||||
const void *data)
|
||||
{
|
||||
elm_object_item_data_set(it, (void *) data);
|
||||
}
|
||||
|
||||
EAPI void *
|
||||
elm_genlist_item_data_get(const Elm_Object_Item *it)
|
||||
{
|
||||
return elm_object_item_data_get(it);
|
||||
}
|
||||
|
||||
EINA_DEPRECATED EAPI void
|
||||
elm_genlist_item_icons_orphan(Elm_Object_Item *it)
|
||||
{
|
||||
elm_genlist_item_all_contents_unset(it, NULL);
|
||||
}
|
||||
|
||||
EINA_DEPRECATED EAPI void
|
||||
elm_genlist_item_contents_orphan(Elm_Object_Item *it)
|
||||
{
|
||||
|
@ -5249,19 +5205,6 @@ elm_genlist_mode_set(Evas_Object *obj,
|
|||
_sizing_eval(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
elm_genlist_horizontal_set(Evas_Object *obj,
|
||||
Elm_List_Mode mode)
|
||||
{
|
||||
elm_genlist_mode_set(obj, mode);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
elm_genlist_horizontal_mode_set(Evas_Object *obj,
|
||||
Elm_List_Mode mode)
|
||||
{
|
||||
elm_genlist_mode_set(obj, mode);
|
||||
}
|
||||
|
||||
EAPI Elm_List_Mode
|
||||
elm_genlist_mode_get(const Evas_Object *obj)
|
||||
|
@ -5272,18 +5215,6 @@ elm_genlist_mode_get(const Evas_Object *obj)
|
|||
return wd->mode;
|
||||
}
|
||||
|
||||
EINA_DEPRECATED EAPI Elm_List_Mode
|
||||
elm_genlist_horizontal_get(const Evas_Object *obj)
|
||||
{
|
||||
return elm_genlist_mode_get(obj);
|
||||
}
|
||||
|
||||
EINA_DEPRECATED EAPI Elm_List_Mode
|
||||
elm_genlist_horizontal_mode_get(const Evas_Object *obj)
|
||||
{
|
||||
return elm_genlist_mode_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
elm_genlist_always_select_mode_set(Evas_Object *obj,
|
||||
Eina_Bool always_select)
|
||||
|
@ -5539,29 +5470,6 @@ elm_genlist_item_mode_set(Elm_Object_Item *it,
|
|||
if (mode_set) _item_mode_set(_it);
|
||||
}
|
||||
|
||||
EAPI const char *
|
||||
elm_genlist_mode_item_style_get(const Evas_Object *obj)
|
||||
{
|
||||
ELM_CHECK_WIDTYPE(obj, widtype) NULL;
|
||||
Widget_Data *wd = elm_widget_data_get(obj);
|
||||
if (!wd) return NULL;
|
||||
return wd->mode_item->itc->mode_item_style;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
elm_genlist_mode_item_style_set(Evas_Object *obj, const char *style)
|
||||
{
|
||||
ELM_CHECK_WIDTYPE(obj, widtype);
|
||||
Widget_Data *wd = elm_widget_data_get(obj);
|
||||
if (!wd) return;
|
||||
if ((style == wd->mode_item->itc->mode_item_style) ||
|
||||
(style && wd->mode_item->itc->mode_item_style &&
|
||||
(!strcmp(style, wd->mode_item->itc->mode_item_style))))
|
||||
return;
|
||||
eina_stringshare_replace((const char**)&wd->mode_item->itc->mode_item_style, style);
|
||||
elm_genlist_realized_items_update(obj);
|
||||
}
|
||||
|
||||
EAPI const char *
|
||||
elm_genlist_mode_type_get(const Evas_Object *obj)
|
||||
{
|
||||
|
|
|
@ -182,7 +182,7 @@
|
|||
* elm_object_item_disabled_get() to get the disabled state.
|
||||
*
|
||||
* In general to indicate how the genlist should expand items horizontally to
|
||||
* fill the list area, use elm_genlist_horizontal_set(). Valid modes are
|
||||
* fill the list area, use elm_genlist_mode_set(). Valid modes are
|
||||
* ELM_LIST_LIMIT and ELM_LIST_SCROLL. The default is ELM_LIST_SCROLL. This
|
||||
* mode means that if items are too wide to fit, the scroller will scroll
|
||||
* horizontally. Otherwise items are expanded to fill the width of the
|
||||
|
@ -484,7 +484,7 @@ EAPI void elm_genlist_mode_set(Evas_Object *obj, Elm_Li
|
|||
* @return The mode to use
|
||||
* (#ELM_LIST_LIMIT, #ELM_LIST_SCROLL)
|
||||
*
|
||||
* @see elm_genlist_horizontal_set()
|
||||
* @see elm_genlist_mode_set()
|
||||
*
|
||||
* @ingroup Genlist
|
||||
*/
|
||||
|
@ -1426,7 +1426,7 @@ EAPI Eina_Bool elm_genlist_item_cursor_engine_only_get(const
|
|||
* This will enable the compress mode where items are "compressed"
|
||||
* horizontally to fit the genlist scrollable viewport width. This is
|
||||
* special for genlist. Do not rely on
|
||||
* elm_genlist_horizontal_set() being set to @c ELM_LIST_COMPRESS to
|
||||
* elm_genlist_mode_set() being set to @c ELM_LIST_COMPRESS to
|
||||
* work as genlist needs to handle it specially.
|
||||
*
|
||||
* @see elm_genlist_compress_mode_get()
|
||||
|
|
Loading…
Reference in New Issue