forked from enlightenment/efl
genlist: fix to return item style correctly.
Since the genlist items can be unrealized, they own the tooltip strings in their item field. Also, the tooltip string should be returned with it. @fix
This commit is contained in:
parent
2ccbb06fea
commit
b371af1d25
|
@ -7037,6 +7037,12 @@ elm_genlist_item_tooltip_style_get(const Elm_Object_Item *it)
|
|||
return eo_do_ret(it, ret, elm_wdg_item_tooltip_style_get());
|
||||
}
|
||||
|
||||
EOLIAN static const char *
|
||||
_elm_genlist_item_elm_widget_item_tooltip_style_get(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it)
|
||||
{
|
||||
return it->tooltip.style;
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
elm_genlist_item_tooltip_window_mode_set(Elm_Object_Item *item,
|
||||
Eina_Bool disable)
|
||||
|
|
|
@ -498,6 +498,7 @@ class Elm.Genlist_Item(Elm.Widget_Item)
|
|||
Elm.Widget_Item.part_content.get;
|
||||
Elm.Widget_Item.tooltip_text_set;
|
||||
Elm.Widget_Item.tooltip_style.set;
|
||||
Elm.Widget_Item.tooltip_style.get;
|
||||
Elm.Widget_Item.tooltip_window_mode.set;
|
||||
Elm.Widget_Item.tooltip_content_cb_set;
|
||||
Elm.Widget_Item.tooltip_unset;
|
||||
|
|
Loading…
Reference in New Issue