Description

Emitted when there is a change in the selection state. This event will collect all the item selection change events that are happening within one loop iteration. This means, you will only get this event once, even if a lot of items have changed. If you are interested in detailed changes, subscribe to the individual Efl.Ui.Selectable.selected,changed events of each item.

Since 1.23

Signature

selection_changed;

C information

C usage

static void
on_efl_ui_selectable_event_selection_changed(void *data, const Efl_Event *event)
{
    void 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_SELECTABLE_EVENT_SELECTION_CHANGED, on_efl_ui_selectable_event_selection_changed, d);
}