Add signal emit hook same as genlist.
2013-05-23 Ryuan Choi (ryuan)
* 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.
* The momentum animation time is changed as the amount of flick.
* Add elm_entry smart callback - "text,set,done".
* Add selection handlers to entry.
+ * Add support elm_object_item_signal_emit() for elm_list.
Improvements:
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 *
_access_info_cb(void *data, Evas_Object *obj __UNUSED__)
{
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_del_pre_hook_set(it, _item_del_pre_hook);
+ elm_widget_item_signal_emit_hook_set(it, _item_signal_emit_hook);
return it;
}
* @li @ref elm_object_item_part_content_set
* @li @ref elm_object_item_part_content_get
* @li @ref elm_object_item_part_content_unset
+ * @li @ref elm_object_item_signal_emit
*
* This widget implements the @b @ref elm-scrollable-interface
* interface, so that all (non-deprecated) functions for the base @ref