static void
on_efl_ui_scrollbar_event_bar_pressed(void *data, const Efl_Event *event)
{
Efl_Ui_Layout_Orientation info = event->info;
Eo *obj = event->object;
Data *d = data;
/* event hander code */
}
static void
setup_event_handler(Eo *obj, Data *d)
{
efl_event_callback_add(obj, EFL_UI_SCROLLBAR_EVENT_BAR_PRESSED, on_efl_ui_scrollbar_event_bar_pressed, d);
}