git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@66805
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
else if (spc_b > spc_r) return _HOV_BOTTOM;
return _HOV_LEFT;
}
+
+EAPI void
+elm_hover_dismiss(Evas_Object *obj)
+{
+ Widget_Data *wd;
+ ELM_CHECK_WIDTYPE(obj, widtype);
+ wd = elm_widget_data_get(obj);
+ if (!wd) return;
+
+ edje_object_signal_emit(wd->cov, "elm,action,dismiss", "");
+}
EAPI const char *elm_hover_best_content_location_get(const Evas_Object *obj, Elm_Hover_Axis pref_axis);
/**
+ * @brief Dismiss a hover object
+ *
+ * @param obj The hover object
+ * Use this function to simulate clicking outside the hover to dismiss it.
+ * In this way, the hover will be hidden and the "clicked" signal will be emitted.
+ */
+EAPI void elm_hover_dismiss(Evas_Object *obj);
+/**
* @}
*/