Virtual Method
GtkSelectionModelget_selection_in_range
Declaration [src]
GtkBitset*
get_selection_in_range (
GtkSelectionModel* model,
guint position,
guint n_items
)
Description [src]
Gets the set of selected items in a range.
This function is an optimization for
gtk_selection_model_get_selection()
when you are only
interested in part of the model’s selected state. A common use
case is in response to the GtkSelectionModel::selection-changed
signal.
Parameters
position
-
Type:
guint
Start of the queried range.
n_items
-
Type:
guint
Number of items in the queried range.
Return value
Type: GtkBitset
A GtkBitset
that matches the selection state
for the given range with all other values being undefined.
The bitset must not be modified.
The caller of the method takes ownership of the returned data, and is responsible for freeing it. |