2 * @brief Add a new Ctxpopup object to the parent.
4 * @if MOBILE @since_tizen 2.3
5 * @elseif WEARABLE @since_tizen 2.3.1
8 * @param[in] parent Parent object
9 * @return New object or @c NULL, if it cannot be created
13 EAPI Evas_Object *elm_ctxpopup_add(Evas_Object *parent);
15 #include "elm_ctxpopup_item.eo.legacy.h"
16 #include "elm_ctxpopup.eo.legacy.h"
19 * @deprecated Deprecated since 2.4
20 * @brief Get the possibility that the direction would be available
22 * @if MOBILE @since_tizen 2.3
23 * @elseif WEARABLE @since_tizen 2.3.1
28 * @param[in] obj The ctxpopup object
29 * @param[in] direction A direction user wants to check
31 * Use this function to check whether input direction is proper for ctxpopup.
32 * If ctxpopup cannot be at the direction since there is no sufficient area it can be,
34 * @return @c EINA_FALSE if you cannot put it in the direction.
35 * @c EINA_TRUE if it's possible.
38 elm_ctxpopup_direction_available_get(Evas_Object *obj, Elm_Ctxpopup_Direction direction);