cf65dbf3e48c9bdeb4292bcb7f65f203cd2c87ca
[platform/upstream/elementary.git] / src / mobile_lib / elc_ctxpopup_legacy.h
1 /**
2  * @brief Add a new Ctxpopup object to the parent.
3  *
4  * @if MOBILE @since_tizen 2.3
5  * @elseif WEARABLE @since_tizen 2.3.1
6  * @endif
7  *
8  * @param[in] parent Parent object
9  * @return New object or @c NULL, if it cannot be created
10  *
11  * @ingroup Ctxpopup
12  */
13 EAPI Evas_Object                 *elm_ctxpopup_add(Evas_Object *parent);
14
15 #include "elm_ctxpopup_item.eo.legacy.h"
16 #include "elm_ctxpopup.eo.legacy.h"
17
18 /**
19  * @deprecated Deprecated since 2.4
20  * @brief Get the possibility that the direction would be available
21  *
22  * @if MOBILE @since_tizen 2.3
23  * @elseif WEARABLE @since_tizen 2.3.1
24  * @endif
25  *
26  * @ingroup Ctxpopup
27  *
28  * @param[in] obj The ctxpopup object
29  * @param[in] direction A direction user wants to check
30  *
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,
33  *
34  * @return @c EINA_FALSE if you cannot put it in the direction.
35  *         @c EINA_TRUE if it's possible.
36  */
37 EAPI Eina_Bool
38 elm_ctxpopup_direction_available_get(Evas_Object *obj, Elm_Ctxpopup_Direction direction);