* @see Entry
* @see Hover
*
+ * Default text parts of the anchorblock widget that you can use for are:
+ * @li "default" - A label of the anchorblock
+ *
+ * Supported elm_object common APIs.
+ * @li elm_object_part_text_set
+ * @li elm_object_part_text_get
+ *
* Since examples are usually better than plain words, we might as well
* try @ref tutorial_anchorblock_example "one".
*/
* Default text parts of the ctxpopup items that you can use for are:
* @li "default" - Title label in the title area
*
+ * Supported elm_object common APIs.
+ * @li elm_object_part_content_set
+ * @li elm_object_part_content_get
+ * @li elm_object_part_content_unset
+ *
+ * Supported elm_object_item common APIs.
+ * @li elm_object_item_disabled_set
+ * @li elm_object_item_disabled_get
+ * @li elm_object_item_part_text_set
+ * @li elm_object_item_part_text_get
+ * @li elm_object_item_part_content_set
+ * @li elm_object_item_part_content_get
+ * @li elm_object_item_signal_emit
+ *
* @ref tutorial_ctxpopup shows the usage of a good deal of the API.
* @{
*/
* pointer comes as the @c event_info data (a stringshared
* string)
*
+ * Default text parts of the fileselector_button widget that you can use for
+ * are:
+ * @li "default" - Label of the fileselector_button
+ *
+ * Supported elm_object common APIs.
+ * @li elm_object_part_text_set
+ * @li elm_object_part_text_get
+ * @li elm_object_disabled_set
+ * @li elm_object_disabled_get
+ *
* Here is an example on its usage:
* @li @ref fileselector_button_example
*
* selector entry's internal file selector, whose string pointer
* comes as the @c event_info data (a stringshared string)
*
+ * Default text parts of the fileselector_button widget that you can use for
+ * are:
+ * @li "default" - Label of the fileselector_button
+ *
+ * Supported elm_object common APIs.
+ * @li elm_object_part_text_set
+ * @li elm_object_part_text_get
+ * @li elm_object_disabled_set
+ * @li elm_object_disabled_get
+ *
* Here is an example on its usage:
* @li @ref fileselector_entry_example
*
*
* Supported elm_object common APIs.
* @li elm_object_disabled_set
- * @li elm_object_text_set
+ * @li elm_object_disabled_get
* @li elm_object_part_text_set
- * @li elm_object_text_get
* @li elm_object_part_text_get
- * @li elm_object_content_set
* @li elm_object_part_content_set
- * @li elm_object_content_unset
* @li elm_object_part_content_unset
*
* Supported elm_object_item common APIs.
- * @li elm_object_item_text_get
* @li elm_object_item_part_text_get
*
* See @ref tutorial_hoversel for an example.
* Default text parts of the multibuttonentry items that you can use for are:
* @li "default" - A label of the multibuttonentry item
*
+ * Supported elm_object common APIs.
+ * @li elm_object_signal_emit
+ * @li elm_object_part_text_set
+ * @li elm_object_part_text_get
+ *
+ * Supported elm_object_item common APIs.
+ * @li elm_object_item_part_text_set
+ * @li elm_object_item_part_text_get
+ *
*/
/**
Widget_Data *wd = elm_widget_data_get(obj);
if (!wd) return;
- if (!item || !strcmp(item, "default"))
+ if (!item || !strcmp(item, "indicator"))
{
eina_stringshare_replace(&wd->indicator_label, label);
edje_object_part_text_set(wd->as, "elm.text.indicator",
{
eina_stringshare_replace(&wd->text_left, label);
if (!elm_widget_mirrored_get(obj))
- {
- edje_object_part_text_set(wd->as, "elm.text.left", wd->text_left);
- }
+ edje_object_part_text_set(wd->as, "elm.text.left", wd->text_left);
else
- {
- edje_object_part_text_set(wd->as, "elm.text.right", wd->text_left);
- }
+ edje_object_part_text_set(wd->as, "elm.text.right", wd->text_left);
}
else if (!strcmp(item, "center"))
{
{
eina_stringshare_replace(&wd->text_right, label);
if (!elm_widget_mirrored_get(obj))
- {
- edje_object_part_text_set(wd->as, "elm.text.right", wd->text_right);
- }
+ edje_object_part_text_set(wd->as, "elm.text.right", wd->text_right);
else
- {
- edje_object_part_text_set(wd->as, "elm.text.left", wd->text_right);
- }
+ edje_object_part_text_set(wd->as, "elm.text.left", wd->text_right);
}
}
Widget_Data *wd = elm_widget_data_get(obj);
if (!wd) return NULL;
- if (!item || !strcmp(item, "default"))
- {
- return wd->indicator_label;
- }
+ if (!item || !strcmp(item, "indicator"))
+ return wd->indicator_label;
else if (!strcmp(item, "left"))
- {
- return wd->text_left;
- }
+ return wd->text_left;
else if (!strcmp(item, "center"))
- {
- return wd->text_center;
- }
+ return wd->text_center;
else if (!strcmp(item, "right"))
- {
- return wd->text_right;
- }
+ return wd->text_right;
return NULL;
}
*
* Signals that you can add callbacks for are:
*
- * "selected" - when user selects an enabled position (the label is passed
- * as event info)".
- * @n
+ * "selected" - when user selects an enabled position (the label is passed as
+ * event info)".
* "pos_changed" - when the indicator reaches any of the positions("left",
* "right" or "center").
*
+ * Default text parts of the actionslider widget that you can use for are:
+ * @li "indicator" - A indicator label of the actionslider
+ * @li "left" - A left label of the actionslider
+ * @li "right" - A right label of the actionslider
+ * @li "center" - A center label of the actionslider
+ *
+ * Supported elm_object common APIs.
+ * @li elm_object_part_text_set
+ * @li elm_object_part_text_get
+ *
* See an example of actionslider usage @ref actionslider_example_page "here"
* @{
*/
* Default contents parts of the bg widget that you can use for are:
* @li "overlay" - overlay of the bg
*
+ * Supported elm_object common APIs.
+ * @li elm_object_part_content_set
+ * @li elm_object_part_content_get
+ * @li elm_object_part_content_unset
+ *
* Here is some sample code using it:
* @li @ref bg_01_example_page
* @li @ref bg_02_example_page
* @li "icon" - An icon of the bubble
*
* Default text parts of the button widget that you can use for are:
- * @li NULL - Label of the bubble
+ * @li "default" - Label of the bubble
+ * @li "info" - info of the bubble
+ *
+ * Supported elm_object common APIs.
+ * @li elm_object_part_text_set
+ * @li elm_object_part_text_get
+ * @li elm_object_part_content_set
+ * @li elm_object_part_content_get
+ * @li elm_object_part_content_unset
*
* For an example of using a buble see @ref bubble_01_example_page "this".
*
* Default text parts of the button widget that you can use for are:
* @li "default" - Label of the button
*
+ * Supported elm_object common APIs.
+ * @li elm_object_part_text_set
+ * @li elm_object_part_text_get
+ * @li elm_object_part_content_set
+ * @li elm_object_part_content_get
+ * @li elm_object_part_content_unset
+ * @li elm_object_signal_emit
+ * @li elm_object_signal_callback_add
+ * @li elm_object_signal_callback_del
+ *
* Follow through a complete example @ref button_example_01 "here".
* @{
*/
*
* Values don't work as bitmask, only one can be choosen.
*
+ * Supported elm_object common APIs.
+ * @li elm_object_signal_emit
+ * @li elm_object_signal_callback_add
+ * @li elm_object_signal_callback_del
+ *
* @see elm_calendar_mark_add()
*
* @ingroup Calendar
* @li "icon" - An icon of the check
*
* Default text parts of the check widget that you can use for are:
- * @li "elm.text" - Label of the check
+ * @li "default" - A label of the check
+ * @li "on" - On state label of the check
+ * @li "off" - Off state label of the check
+ *
+ * Supported elm_object common APIs.
+ * @li elm_object_disabled_set
+ * @li elm_object_disabled_get
+ * @li elm_object_part_text_set
+ * @li elm_object_part_text_get
+ * @li elm_object_part_content_set
+ * @li elm_object_part_content_get
+ * @li elm_object_part_content_unset
*
* @ref tutorial_check should give you a firm grasp of how to use this widget.
*
* Smart callbacks one can register to:
* - "changed" - the clock's user changed the time
*
+ * Supported elm_object common APIs.
+ * @li elm_object_signal_emit
+ * @li elm_object_signal_callback_add
+ * @li elm_object_signal_callbacka_del
+ *
* Here is an example on its usage:
* @li @ref clock_example
*/
* @return The widget object
*
* @note This returns the widget object itself that an item belongs to.
- *
+ * @note Every elm_object_item supports this API
* @ingroup General
*/
EAPI Evas_Object *elm_object_item_object_get(const Elm_Object_Item *it);
* @param it The Elementary object item
* @return The data associated with @p it
*
+ * @note Every elm_object_item supports this API
* @ingroup General
*/
EAPI void *elm_object_item_data_get(const Elm_Object_Item *it);
* @param it The Elementary object item
* @param data The data to be associated with @p it
*
+ * @note Every elm_object_item supports this API
* @ingroup General
*/
EAPI void elm_object_item_data_set(Elm_Object_Item *it, void *data);
* @li Evas_Object * widget object
* @li Elm_Object_Item * widget item
*
+ * @note Every elm_object_item supports this API
+ *
* @see elm_object_item_del()
* @ingroup General
*/