get_selection


Description:

public Bitset get_selection ()

Gets the set containing all currently selected items in the model.

This function may be slow, so if you are only interested in single item, consider using [[email protected]_selected] or if you are only interested in a few, consider [[email protected]_selection_in_range].

Parameters:

this

a `GtkSelectionModel`

Returns:

a `GtkBitset` containing all the values currently selected in this. If no items are selected, the bitset is empty. The bitset must not be modified.




2022 vala-language.org