return sd->dir;
}
+// TIZEN_ONLY(20160126): add direction available get function, it will be deprecated soon
+EINA_DEPRECATED EAPI Eina_Bool
+elm_ctxpopup_direction_available_get(Evas_Object *obj, Elm_Ctxpopup_Direction direction)
+{
+ ELM_CTXPOPUP_CHECK(obj) EINA_FALSE;
+ ELM_CTXPOPUP_DATA_GET(obj, sd);
+
+ elm_layout_sizing_eval(obj);
+
+ if (sd->dir == direction) return EINA_TRUE;
+ return EINA_FALSE;
+}
+//
+
EOLIAN static void
_elm_ctxpopup_dismiss(Eo *obj, Elm_Ctxpopup_Data *sd)
{
EINA_DEPRECATED EAPI void elm_access_external_info_set(Evas_Object *obj, const char *text);
EINA_DEPRECATED EAPI char *elm_access_external_info_get(const Evas_Object *obj);
+/**
+ * @deprecated Deprecated since 2.4.
+ * @ingroup Elm_Ctxpopup
+ *
+ * @param[in] obj The object.
+ * @param[in] direction The direction to check available to show ctxpopup.
+ *
+ * @return EINA_TRUE if object is available to show with @p direction.
+ *
+ * @if MOBILE @since_tizen 2.3
+ * @elseif WEARABLE @since_tizen 2.3.1
+ * @endif
+ */
+EINA_DEPRECATED EAPI Eina_Bool elm_ctxpopup_direction_available_get(Evas_Object *obj, Elm_Ctxpopup_Direction direction);
+
// elm_win
/*TIZEN_ONLY(20171214): tizen need to change win type after win creating
EINA_DEPRECATED EAPI void elm_win_type_set(Evas_Object *obj, Elm_Win_Type type);