Interface for getting access to a range of selected items.
The implementor of this interface provides the possibility to select multiple Selectables. If not, only Efl.Ui.Single_Selectable should be implemented.
⇒ Efl.Ui.Single_Selectable (interface)
Select all Efl.Ui.Selectable
void efl_ui_selectable_all_select(Eo *obj);
Unselect all Efl.Ui.Selectable
void efl_ui_selectable_all_unselect(Eo *obj);
Select a range of Efl.Ui.Selectable.
void efl_ui_selectable_range_select(Eo *obj, Efl_Ui_Selectable *a, Efl_Ui_Selectable *b);
Unselect a range of Efl.Ui.Selectable.
void efl_ui_selectable_range_unselect(Eo *obj, Efl_Ui_Selectable *a, Efl_Ui_Selectable *b);
select_mode (get, set)
The mode type for children selection.
Efl_Ui_Select_Mode efl_ui_selectable_select_mode_get(const Eo *obj); void efl_ui_selectable_select_mode_set(Eo *obj, Efl_Ui_Select_Mode mode);
Get the selected items in a iterator. The iterator sequence will be decided by selection.
Eina_Iterator *efl_ui_selectable_selected_iterator_new(Eo *obj);
Efl.Ui.Single_Selectable | ||
---|---|---|
fallback_selection (get, set) | A object that will be selected in case nothing is selected | |
last_selected (get) |
Efl.Ui.Single_Selectable | ||
---|---|---|
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. |