{
elm_object_text_set(btn, "Nothing to see here");
evas_object_smart_callback_add(btn, "clicked", btn_end_cb, ao);
- elm_hover_content_set(info->hover, "middle", btn);
+ elm_object_part_content_set(info->hover, "middle", btn);
return;
}
evas_object_smart_callback_add(btn, "clicked", btn_end_cb, ao);
evas_object_smart_callback_add(btn, "clicked", _btn_clicked_cb, str);
- elm_hover_content_set(info->hover, "middle", btn);
+ elm_object_part_content_set(info->hover, "middle", btn);
if (secondary)
{
if (info->hover_right)
- elm_hover_content_set(info->hover, "right", secondary);
+ elm_object_part_content_set(info->hover, "right", secondary);
else if (info->hover_left)
- elm_hover_content_set(info->hover, "left", secondary);
+ elm_object_part_content_set(info->hover, "left", secondary);
else
evas_object_del(secondary);
}
if (box)
{
if (info->hover_bottom)
- elm_hover_content_set(info->hover, "bottom", box);
+ elm_object_part_content_set(info->hover, "bottom", box);
else if (info->hover_top)
- elm_hover_content_set(info->hover, "top", box);
+ elm_object_part_content_set(info->hover, "top", box);
else
evas_object_del(box);
}