* @ref tutorial_ctxpopup shows the usage of a good deal of the API.
* @{
*/
+
+ /**
+ * @addtogroup Ctxpopup
+ * @{
+ */
+
typedef enum _Elm_Ctxpopup_Direction
{
ELM_CTXPOPUP_DIRECTION_DOWN, /**< ctxpopup show appear below clicked
*
* @param parent Parent object
* @return New object or @c NULL, if it cannot be created
+ *
+ * @ingroup Ctxpopup
*/
EAPI Evas_Object *elm_ctxpopup_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
/**
*
* @see elm_ctxpopup_add()
* @see elm_hover_parent_set()
+ *
+ * @ingroup Ctxpopup
*/
EAPI void elm_ctxpopup_hover_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1, 2);
/**
* @param obj The ctxpopup object
*
* @see elm_ctxpopup_hover_parent_set() for more information
+ *
+ * @ingroup Ctxpopup
*/
EAPI Evas_Object *elm_ctxpopup_hover_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
/**
* @brief Clear all items in the given ctxpopup object.
*
* @param obj Ctxpopup object
+ *
+ * @ingroup Ctxpopup
*/
EAPI void elm_ctxpopup_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
/**
*
* @param obj Ctxpopup object
* @param horizontal @c EINA_TRUE for horizontal mode, @c EINA_FALSE for vertical
+ *
+ * @ingroup Ctxpopup
*/
EAPI void elm_ctxpopup_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
/**
* @return @c EINA_TRUE for horizontal mode, @c EINA_FALSE for vertical mode (or errors)
*
* @see elm_ctxpopup_horizontal_set()
+ *
+ * @ingroup Ctxpopup
*/
EAPI Eina_Bool elm_ctxpopup_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
/**
* time. When an item is added, any previous content will be removed.
*
* @see elm_ctxpopup_content_set()
+ *
+ * @ingroup Ctxpopup
*/
Elm_Object_Item *elm_ctxpopup_item_append(Evas_Object *obj, const char *label, Evas_Object *icon, Evas_Smart_Cb func, const void *data) EINA_ARG_NONNULL(1);
/**
* @param it Ctxpopup item to be deleted
*
* @see elm_ctxpopup_item_append()
+ *
+ * @ingroup Ctxpopup
*/
EAPI void elm_ctxpopup_item_del(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
/**
*
* When disabled the item is greyed out to indicate it's state.
* @deprecated use elm_object_item_disabled_set() instead
+ *
+ * @ingroup Ctxpopup
*/
EINA_DEPRECATED EAPI void elm_ctxpopup_item_disabled_set(Elm_Object_Item *it, Eina_Bool disabled) EINA_ARG_NONNULL(1);
/**
*
* @see elm_ctxpopup_item_disabled_set()
* @deprecated use elm_object_item_disabled_get() instead
+ *
+ * @ingroup Ctxpopup
*/
EAPI Eina_Bool elm_ctxpopup_item_disabled_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
/**
* @see elm_ctxpopup_item_icon_set()
*
* @deprecated use elm_object_item_part_content_get() instead
+ *
+ * @ingroup Ctxpopup
*/
EINA_DEPRECATED EAPI Evas_Object *elm_ctxpopup_item_icon_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
/**
*
* @deprecated use elm_object_item_part_content_set() instead
*
+ * @ingroup Ctxpopup
*/
EINA_DEPRECATED EAPI void elm_ctxpopup_item_icon_set(Elm_Object_Item *it, Evas_Object *icon) EINA_ARG_NONNULL(1);
/**
* @see elm_ctxpopup_item_label_set()
*
* @deprecated use elm_object_item_text_get() instead
+ *
+ * @ingroup Ctxpopup
*/
EINA_DEPRECATED EAPI const char *elm_ctxpopup_item_label_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
/**
* @param label String to set as label
*
* @deprecated use elm_object_item_text_set() instead
+ *
+ * @ingroup Ctxpopup
*/
EINA_DEPRECATED EAPI void elm_ctxpopup_item_label_set(Elm_Object_Item *it, const char *label) EINA_ARG_NONNULL(1);
/**
*
* @deprecated use elm_object_content_set() instead
*
+ * @ingroup Ctxpopup
*/
EINA_DEPRECATED EAPI void elm_ctxpopup_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1, 2);
/**
*
* @deprecated use elm_object_content_unset() instead
*
+ * @ingroup Ctxpopup
*/
EINA_DEPRECATED EAPI Evas_Object *elm_ctxpopup_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
/**
* requested direction.
*
* @see Elm_Ctxpopup_Direction
+ *
+ * @ingroup Ctxpopup
*/
EAPI void elm_ctxpopup_direction_priority_set(Evas_Object *obj, Elm_Ctxpopup_Direction first, Elm_Ctxpopup_Direction second, Elm_Ctxpopup_Direction third, Elm_Ctxpopup_Direction fourth) EINA_ARG_NONNULL(1);
/**
* @param fourth 4th priority of direction to be returned
*
* @see elm_ctxpopup_direction_priority_set() for more information.
+ *
+ * @ingroup Ctxpopup
*/
EAPI void elm_ctxpopup_direction_priority_get(Evas_Object *obj, Elm_Ctxpopup_Direction *first, Elm_Ctxpopup_Direction *second, Elm_Ctxpopup_Direction *third, Elm_Ctxpopup_Direction *fourth) EINA_ARG_NONNULL(1);
* @return current direction of a ctxpopup
*
* @warning Once the ctxpopup showed up, the direction would be determined
+ *
+ * @ingroup Ctxpopup
*/
EAPI Elm_Ctxpopup_Direction elm_ctxpopup_direction_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);