EAPI void elm_anchorview_hover_parent_set(Evas_Object *obj, Evas_Object *parent);
EAPI Evas_Object *elm_anchorview_hover_parent_get(const Evas_Object *obj);
EAPI void elm_anchorview_hover_style_set(Evas_Object *obj, const char *style);
+ EAPI const char *elm_anchorview_hover_style_get(const Evas_Object *obj);
EAPI void elm_anchorview_hover_end(Evas_Object *obj);
EAPI void elm_anchorview_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
EAPI void elm_anchorview_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce);
EAPI void elm_anchorblock_hover_parent_set(Evas_Object *obj, Evas_Object *parent);
EAPI Evas_Object *elm_anchorblock_hover_parent_get(const Evas_Object *obj);
EAPI void elm_anchorblock_hover_style_set(Evas_Object *obj, const char *style);
+ EAPI const char *elm_anchorblock_hover_style_get(const Evas_Object *obj);
EAPI void elm_anchorblock_hover_end(Evas_Object *obj);
EAPI void elm_anchorblock_item_provider_append(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *anchorblock, const char *item), void *data);
EAPI void elm_anchorblock_item_provider_prepend(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *anchorblock, const char *item), void *data);
eina_stringshare_replace(&wd->hover_style, style);
}
+/**
+ * Get the style that the hover should use
+ *
+ * This gets the style for the hover that anchorblock will create. See hover
+ * objects for more information
+ *
+ * @param obj The anchorblock object
+ * @return The style defined
+ *
+ * @ingroup Anchorblock
+ */
+EAPI const char *
+elm_anchorblock_hover_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->hover_style;
+}
+
/**
* Stop the hover popup in the anchorblock
*
eina_stringshare_replace(&wd->hover_style, style);
}
+/**
+ * Get the style that the hover should use
+ *
+ * This gets the style for the hover that anchorview will create. See hover
+ * objects for more information
+ *
+ * @param obj The anchorview object
+ * @return The style defined
+ *
+ * @ingroup Anchorview
+ */
+EAPI const char *
+elm_anchorview_hover_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->hover_style;
+}
+
/**
* Stop the hover popup in the anchorview
*