Languages

Menu
Sites
Language
Input Panel callback

Hello,

Could you please help me, i need to set custom callback on Search button in input panel - how can i do this? Please help.

http://s4.postimg.org/626663e6l/Screen_20150914162748.png

Edited by: Pavel Andreev on 14 Sep, 2015

Responses

3 Replies
Alex Dem

Hi,
Try to use for your entry:

evas_object_smart_callback_add(ad->entry, "activated", on_activated_cb, data);

Alexey.

Palitsyna

Hello,

as Alex Dem said, tr to use following method: 

void evas_object_smart_callback_add(Evas_Object * obj, const char* event, Evas_Smart_Cb func, const void * data). 

It adds or registers a callback function to the smart event specified by event on the smart object obj. More information about this method and it's parameters you can find here: https://developer.tizen.org/dev-guide/2.3.0/org.tizen.native.mobile.apireference/group__Evas__Smart__Object__Group.html#ga18a8b179f94d21b2b09e19db11741061

 

Pavel Andreev

Hello. Everything works now, thanks!