As clone45 said:
panel->event = function_name;

My question would be how to recognize different event_types on a plane (EVENT_CLICK, EVENT_TOUCH, EVENT_RIGHTCLICK,...)