EAPI Evas_Object *elm_hoversel_icon_get(const Evas_Object *obj);
EAPI void elm_hoversel_hover_begin(Evas_Object *obj);
EAPI void elm_hoversel_hover_end(Evas_Object *obj);
+ EAPI Eina_Bool elm_hoversel_expanded_get(Evas_Object *obj);
EAPI void elm_hoversel_clear(Evas_Object *obj);
EAPI const Eina_List * elm_hoversel_items_get(const Evas_Object *obj);
EAPI Elm_Hoversel_Item *elm_hoversel_item_add(Evas_Object *obj, const char *label, const char *icon_file, Elm_Icon_Type icon_type, Evas_Smart_Cb func, const void *data);
}
/**
+ * Returns whether the hoversel is expanded.
+ *
+ * This will return EINA_TRUE if the hoversel is expanded or
+ * EINA_FALSE if it is not expanded.
+ * @param obj The hoversel object
+ *
+ * @ingroup Hoversel
+ */
+EAPI Eina_Bool
+elm_hoversel_expanded_get(Evas_Object *obj)
+{
+ ELM_CHECK_WIDTYPE(obj, widtype) EINA_FALSE;
+ Widget_Data *wd = elm_widget_data_get(obj);
+ if (!wd) return EINA_FALSE;
+ return (wd->hover) ? EINA_TRUE : EINA_FALSE;
+}
+
+/**
* Remove all the items from the given hoversel object.
*
* This will remove all the children items from the hoversel. (should not be