forked from enlightenment/efl
[list] Add signal emit hook.
Add signal emit hook same as genlist.
This commit is contained in:
parent
82ecdfbb25
commit
10a212a709
|
@ -1364,3 +1364,7 @@
|
||||||
2013-05-23 Ryuan Choi (ryuan)
|
2013-05-23 Ryuan Choi (ryuan)
|
||||||
|
|
||||||
* Fix elm_colorselector does not emit "changed" when clicked color palatte.
|
* Fix elm_colorselector does not emit "changed" when clicked color palatte.
|
||||||
|
|
||||||
|
2013-05-27 Tae-Hwan Kim (bluezery)
|
||||||
|
|
||||||
|
* Add support elm_object_item_signal_emit() for elm_list.
|
||||||
|
|
|
@ -69,6 +69,7 @@ Additions:
|
||||||
* The momentum animation time is changed as the amount of flick.
|
* The momentum animation time is changed as the amount of flick.
|
||||||
* Add elm_entry smart callback - "text,set,done".
|
* Add elm_entry smart callback - "text,set,done".
|
||||||
* Add selection handlers to entry.
|
* Add selection handlers to entry.
|
||||||
|
* Add support elm_object_item_signal_emit() for elm_list.
|
||||||
|
|
||||||
Improvements:
|
Improvements:
|
||||||
|
|
||||||
|
|
|
@ -1439,6 +1439,14 @@ _item_del_pre_hook(Elm_Object_Item *it)
|
||||||
return EINA_TRUE;
|
return EINA_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
_item_signal_emit_hook(Elm_Object_Item *it,
|
||||||
|
const char *emission,
|
||||||
|
const char *source)
|
||||||
|
{
|
||||||
|
edje_object_signal_emit(VIEW(it), emission, source);
|
||||||
|
}
|
||||||
|
|
||||||
static char *
|
static char *
|
||||||
_access_info_cb(void *data, Evas_Object *obj __UNUSED__)
|
_access_info_cb(void *data, Evas_Object *obj __UNUSED__)
|
||||||
{
|
{
|
||||||
|
@ -1603,6 +1611,7 @@ _item_new(Evas_Object *obj,
|
||||||
elm_widget_item_text_set_hook_set(it, _item_text_set_hook);
|
elm_widget_item_text_set_hook_set(it, _item_text_set_hook);
|
||||||
elm_widget_item_text_get_hook_set(it, _item_text_get_hook);
|
elm_widget_item_text_get_hook_set(it, _item_text_get_hook);
|
||||||
elm_widget_item_del_pre_hook_set(it, _item_del_pre_hook);
|
elm_widget_item_del_pre_hook_set(it, _item_del_pre_hook);
|
||||||
|
elm_widget_item_signal_emit_hook_set(it, _item_signal_emit_hook);
|
||||||
|
|
||||||
return it;
|
return it;
|
||||||
}
|
}
|
||||||
|
|
|
@ -64,6 +64,7 @@
|
||||||
* @li @ref elm_object_item_part_content_set
|
* @li @ref elm_object_item_part_content_set
|
||||||
* @li @ref elm_object_item_part_content_get
|
* @li @ref elm_object_item_part_content_get
|
||||||
* @li @ref elm_object_item_part_content_unset
|
* @li @ref elm_object_item_part_content_unset
|
||||||
|
* @li @ref elm_object_item_signal_emit
|
||||||
*
|
*
|
||||||
* This widget implements the @b @ref elm-scrollable-interface
|
* This widget implements the @b @ref elm-scrollable-interface
|
||||||
* interface, so that all (non-deprecated) functions for the base @ref
|
* interface, so that all (non-deprecated) functions for the base @ref
|
||||||
|
|
Loading…
Reference in New Issue