elementary - updated doc. will keep going for other widgets later.

or someone please help me ;0



SVN revision: 66752
This commit is contained in:
ChunEon Park 2012-01-02 12:53:29 +00:00
parent 9afc12e39a
commit 0c7bac5201
15 changed files with 124 additions and 37 deletions

View File

@ -21,6 +21,13 @@
* @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".
*/

View File

@ -28,6 +28,20 @@
* 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.
* @{
*/

View File

@ -29,6 +29,16 @@
* 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
*

View File

@ -41,6 +41,16 @@
* 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
*

View File

@ -24,17 +24,13 @@
*
* 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.

View File

@ -26,6 +26,15 @@
* 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
*
*/
/**

View File

@ -323,7 +323,7 @@ _elm_actionslider_label_set(Evas_Object *obj, const char *item, const char *labe
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",
@ -333,13 +333,9 @@ _elm_actionslider_label_set(Evas_Object *obj, const char *item, const char *labe
{
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"))
{
@ -350,13 +346,9 @@ _elm_actionslider_label_set(Evas_Object *obj, const char *item, const char *labe
{
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);
}
}
@ -367,22 +359,14 @@ _elm_actionslider_label_get(const Evas_Object *obj, const char *item)
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;
}

View File

@ -22,12 +22,21 @@
*
* 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"
* @{
*/

View File

@ -15,6 +15,11 @@
* 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

View File

@ -36,7 +36,15 @@
* @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".
*

View File

@ -34,6 +34,16 @@
* 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".
* @{
*/

View File

@ -16,6 +16,11 @@
*
* 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

View File

@ -27,7 +27,18 @@
* @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.
*

View File

@ -32,6 +32,11 @@
* 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
*/

View File

@ -5,7 +5,7 @@
* @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);
@ -99,6 +99,7 @@ EAPI void elm_object_item_access_info_set(Elm_Object_Ite
* @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);
@ -108,6 +109,7 @@ EAPI void *elm_object_item_data_get(const Elm_Object_Item
* @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);
@ -171,6 +173,8 @@ EAPI Eina_Bool elm_object_item_disabled_get(const Elm_Object_
* @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
*/