getSelectionInRange

open fun getSelectionInRange(position: <Error class: unknown class>, nItems: <Error class: unknown class>): Bitset

Gets the set of selected items in a range.

This function is an optimization for method@Gtk.SelectionModel.get_selection when you are only interested in part of the model's selected state. A common use case is in response to the signal@Gtk.SelectionModel::selection-changed signal.

Return

A GtkBitset that matches the selection state for the given range with all other values being undefined. The bitset must not be modified.

Parameters

position

start of the queired range

nItems

number of items in the queried range