Efl.Ui.Single_Selectable (interface)

Description

Interface for getting access to a single selected item in the implementor.

The implementor is free to allow a specific number of selectables being selected or not. This interface just covers always the latest selected selectable.

Members

fallback_selection (get, set)

A object that will be selected in case nothing is selected
Efl_Ui_Selectable *efl_ui_selectable_fallback_selection_get(const Eo *obj);
void efl_ui_selectable_fallback_selection_set(Eo *obj, Efl_Ui_Selectable *fallback);


last_selected (get)

Efl_Ui_Selectable *efl_ui_selectable_last_selected_get(const Eo *obj);


Events

selection_changed

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.
EFL_UI_SELECTABLE_EVENT_SELECTION_CHANGED(void)