2011-12-29 23:20:48 -08:00
|
|
|
/**
|
|
|
|
* @defgroup Bubble Bubble
|
2012-04-16 18:35:46 -07:00
|
|
|
* @ingroup Elementary
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
2012-06-05 15:41:21 -07:00
|
|
|
* @image html bubble_inheritance_tree.png
|
|
|
|
* @image latex bubble_inheritance_tree.eps
|
|
|
|
*
|
2011-12-29 23:20:48 -08:00
|
|
|
* @image html img/widget/bubble/preview-00.png
|
|
|
|
* @image latex img/widget/bubble/preview-00.eps
|
|
|
|
* @image html img/widget/bubble/preview-01.png
|
|
|
|
* @image latex img/widget/bubble/preview-01.eps
|
|
|
|
* @image html img/widget/bubble/preview-02.png
|
|
|
|
* @image latex img/widget/bubble/preview-02.eps
|
|
|
|
*
|
|
|
|
* @brief The Bubble is a widget to show text similar to how speech is
|
|
|
|
* represented in comics.
|
|
|
|
*
|
|
|
|
* The bubble widget contains 5 important visual elements:
|
|
|
|
* @li The frame is a rectangle with rounded edjes and an "arrow".
|
|
|
|
* @li The @p icon is an image to which the frame's arrow points to.
|
|
|
|
* @li The @p label is a text which appears to the right of the icon if the
|
|
|
|
* corner is "top_left" or "bottom_left" and is right aligned to the frame
|
|
|
|
* otherwise.
|
|
|
|
* @li The @p info is a text which appears to the right of the label. Info's
|
2012-02-14 00:50:23 -08:00
|
|
|
* font is of a lighter color than label.
|
2011-12-29 23:20:48 -08:00
|
|
|
* @li The @p content is an evas object that is shown inside the frame.
|
|
|
|
*
|
|
|
|
* The position of the arrow, icon, label and info depends on which corner is
|
|
|
|
* selected. The four available corners are:
|
|
|
|
* @li "top_left" - Default
|
|
|
|
* @li "top_right"
|
|
|
|
* @li "bottom_left"
|
|
|
|
* @li "bottom_right"
|
|
|
|
*
|
2012-05-03 15:42:26 -07:00
|
|
|
* This widget inherits from the @ref Layout one, so that all the
|
|
|
|
* functions acting on it also work for bubble objects.
|
|
|
|
*
|
|
|
|
* This widget emits the following signals, besides the ones sent from
|
|
|
|
* @ref Layout:
|
|
|
|
* @li @c "clicked" - This is called when a user has clicked the bubble.
|
elm: fixed focused and unfocused documentation.
1. ctxpopup, fileselector_entry, naviframe, popup, bubble, button, calendar, check, clock, colorselector, datetime, diskselector, flipselector, gengrid.
2. since 1.8
2013-06-09 21:44:25 -07:00
|
|
|
* @li @c "focused" - When the bubble has received focus. (since 1.8)
|
|
|
|
* @li @c "unfocused" - When the bubble has lost focus. (since 1.8)
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
2012-02-27 18:39:31 -08:00
|
|
|
* Default content parts of the bubble that you can use for are:
|
2011-12-29 23:20:48 -08:00
|
|
|
* @li "default" - A content of the bubble
|
|
|
|
* @li "icon" - An icon of the bubble
|
|
|
|
*
|
|
|
|
* Default text parts of the button widget that you can use for are:
|
2014-09-04 09:11:58 -07:00
|
|
|
* @li "default" - A label of the bubble
|
|
|
|
* @li "info" - An info of the bubble
|
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_part_text_set
|
|
|
|
* @li @ref elm_object_part_text_get
|
|
|
|
* @li @ref elm_object_part_content_set
|
|
|
|
* @li @ref elm_object_part_content_get
|
|
|
|
* @li @ref elm_object_part_content_unset
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
2012-02-14 00:50:23 -08:00
|
|
|
* For an example of using a bubble see @ref bubble_01_example_page "this".
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
|
|
|
* @{
|
|
|
|
*/
|
2011-12-29 22:49:28 -08:00
|
|
|
|
2013-04-27 23:47:05 -07:00
|
|
|
#ifdef EFL_EO_API_SUPPORT
|
|
|
|
#include "elm_bubble_eo.h"
|
|
|
|
#endif
|
|
|
|
#ifndef EFL_NOLEGACY_API_SUPPORT
|
|
|
|
#include "elm_bubble_legacy.h"
|
|
|
|
#endif
|
2011-12-29 23:20:48 -08:00
|
|
|
/**
|
|
|
|
* @}
|
|
|
|
*/
|