can’t register clicked callback on icon widget?

can’t register clicked callback on icon widget?

BY 09 Sep 2015 Native Application Development

Hi,

I create an icon widget by call elm_icon_add(), and I want to register the clicked callback on it as below,

evas_object_smart_callback_add(icon, “clicked”, _ov_icon_clicked_cb, NULL);

But, seems it’s not working. Is it possible that the icon widget don’t support such api?

Written by