2011-12-29 23:20:48 -08:00
|
|
|
/**
|
|
|
|
* @defgroup Ctxpopup Ctxpopup
|
2012-04-16 18:35:46 -07:00
|
|
|
* @ingroup Elementary
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
2012-08-30 09:45:51 -07:00
|
|
|
* @image html ctxpopup_inheritance_tree.png
|
|
|
|
* @image latex ctxpopup_inheritance_tree.eps
|
|
|
|
*
|
2011-12-29 23:20:48 -08:00
|
|
|
* @image html img/widget/ctxpopup/preview-00.png
|
|
|
|
* @image latex img/widget/ctxpopup/preview-00.eps
|
|
|
|
*
|
2012-02-14 00:50:20 -08:00
|
|
|
* @brief Context popup widget.
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
|
|
|
* A ctxpopup is a widget that, when shown, pops up a list of items.
|
|
|
|
* It automatically chooses an area inside its parent object's view
|
|
|
|
* (set via elm_ctxpopup_add() and elm_ctxpopup_hover_parent_set()) to
|
|
|
|
* optimally fit into it. In the default theme, it will also point an
|
|
|
|
* arrow to it's top left position at the time one shows it. Ctxpopup
|
|
|
|
* items have a label and/or an icon. It is intended for a small
|
|
|
|
* number of items (hence the use of list, not genlist).
|
|
|
|
*
|
2012-11-25 22:32:53 -08:00
|
|
|
* This widget inherits from the Layout one, so that all the
|
2012-08-30 16:19:05 -07:00
|
|
|
* functions acting on it also work for context popup objects
|
|
|
|
* (@since 1.8).
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
2012-08-30 09:45:51 -07:00
|
|
|
* This widget emits the following signals, besides the ones sent from
|
|
|
|
* @ref Layout:
|
2013-04-01 04:35:17 -07:00
|
|
|
* - @c "dismissed" - This is called when the outside of ctxpopup was clicked or
|
|
|
|
* its parent area is changed or the language is changed and also when the
|
|
|
|
* parent object is resized due to the window rotation. Then ctxpopup is
|
2013-02-11 22:58:05 -08:00
|
|
|
* dismissed.
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
2012-02-27 18:39:31 -08:00
|
|
|
* Default content parts of the ctxpopup widget that you can use for are:
|
2011-12-29 23:20:48 -08:00
|
|
|
* @li "default" - A content of the ctxpopup
|
|
|
|
*
|
2012-02-27 18:39:31 -08:00
|
|
|
* Default content parts of the ctxpopup items that you can use for are:
|
2011-12-29 23:20:48 -08:00
|
|
|
* @li "icon" - An icon in the title area
|
|
|
|
*
|
|
|
|
* Default text parts of the ctxpopup items that you can use for are:
|
|
|
|
* @li "default" - Title label in the title area
|
|
|
|
*
|
2012-01-02 04:53:29 -08:00
|
|
|
* Supported elm_object common APIs.
|
2012-04-17 13:33:59 -07:00
|
|
|
* @li @ref elm_object_disabled_set
|
|
|
|
* @li @ref elm_object_disabled_get
|
2012-01-02 04:53:29 -08:00
|
|
|
*
|
|
|
|
* Supported elm_object_item common APIs.
|
2012-04-17 13:33:59 -07:00
|
|
|
* @li @ref elm_object_item_disabled_set
|
|
|
|
* @li @ref elm_object_item_disabled_get
|
|
|
|
* @li @ref elm_object_item_part_text_set
|
|
|
|
* @li @ref elm_object_item_part_text_get
|
|
|
|
* @li @ref elm_object_item_part_content_set
|
|
|
|
* @li @ref elm_object_item_part_content_get
|
|
|
|
* @li @ref elm_object_item_signal_emit
|
2012-01-02 04:53:29 -08:00
|
|
|
*
|
2011-12-29 23:20:48 -08:00
|
|
|
* @ref tutorial_ctxpopup shows the usage of a good deal of the API.
|
|
|
|
* @{
|
|
|
|
*/
|
2011-12-29 22:49:28 -08:00
|
|
|
|
2013-04-27 22:41:17 -07:00
|
|
|
#include "elc_ctxpopup_common.h"
|
|
|
|
#ifdef EFL_EO_API_SUPPORT
|
|
|
|
#include "elc_ctxpopup_eo.h"
|
|
|
|
#endif
|
|
|
|
#ifndef EFL_NOLEGACY_API_SUPPORT
|
|
|
|
#include "elc_ctxpopup_legacy.h"
|
|
|
|
#endif
|
2011-12-29 23:20:48 -08:00
|
|
|
/**
|
|
|
|
* @}
|
|
|
|
*/
|