summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2014-05-20 00:54:50 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2014-05-20 00:55:27 +0900
commit9bce86a2c6b8d96495cef9824b55d0df1752ee16 (patch)
treed658ec2b670905d0297b65440250bc3cfd6e3857
parent6dc6a96f803784eee2528fc42a07d4dc1a6aca88 (diff)
widget: updated internal documentation for elm_widget_item_del.
-rw-r--r--src/lib/elm_widget.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/lib/elm_widget.c b/src/lib/elm_widget.c
index 4c079e010..f4225a0cd 100644
--- a/src/lib/elm_widget.c
+++ b/src/lib/elm_widget.c
@@ -4098,9 +4098,12 @@ _elm_widget_item_free(Elm_Widget_Item *item)
4098/** 4098/**
4099 * @internal 4099 * @internal
4100 * 4100 *
4101 * Releases widget item memory, calling back del_cb() if it exists. 4101 * Releases widget item memory, calling back item_del_pre_hook() and
4102 * item_del_cb() if they exist.
4102 * 4103 *
4103 * If there is a Elm_Widget_Item::del_cb, then it will be called prior 4104 * @param item a valid #Elm_Widget_Item to be deleted.
4105 *
4106 * If there is an Elm_Widget_Item::del_cb, then it will be called prior
4104 * to memory release. Note that elm_widget_item_pre_notify_del() calls 4107 * to memory release. Note that elm_widget_item_pre_notify_del() calls
4105 * this function and then unset it, thus being useful for 2 step 4108 * this function and then unset it, thus being useful for 2 step
4106 * cleanup whenever the del_cb may use any of the data that must be 4109 * cleanup whenever the del_cb may use any of the data that must be
@@ -4109,7 +4112,9 @@ _elm_widget_item_free(Elm_Widget_Item *item)
4109 * The Elm_Widget_Item::view will be deleted (evas_object_del()) if it 4112 * The Elm_Widget_Item::view will be deleted (evas_object_del()) if it
4110 * is presented! 4113 * is presented!
4111 * 4114 *
4112 * @param item a valid #Elm_Widget_Item to be deleted. 4115 * Note that if item_del_pre_hook() returns @c EINA_TRUE, item free will be
4116 * deferred, or item will be freed here if it returns @c EINA_FALSE.
4117 *
4113 * @see elm_widget_item_del() convenience macro. 4118 * @see elm_widget_item_del() convenience macro.
4114 * @ingroup Widget 4119 * @ingroup Widget
4115 */ 4120 */