- gIface
GTypeInterface gIface;
Undocumented in source.
- getSelectionInRange
GtkBitset* function(GtkSelectionModel* model, uint position, uint nItems) getSelectionInRange;
- isSelected
int function(GtkSelectionModel* model, uint position) isSelected;
- selectAll
int function(GtkSelectionModel* model) selectAll;
- selectItem
int function(GtkSelectionModel* model, uint position, int unselectRest) selectItem;
- selectRange
int function(GtkSelectionModel* model, uint position, uint nItems, int unselectRest) selectRange;
- setSelection
int function(GtkSelectionModel* model, GtkBitset* selected, GtkBitset* mask) setSelection;
- unselectAll
int function(GtkSelectionModel* model) unselectAll;
- unselectItem
int function(GtkSelectionModel* model, uint position) unselectItem;
- unselectRange
int function(GtkSelectionModel* model, uint position, uint nItems) unselectRange;
The list of virtual functions for the #GtkSelectionModel interface. No function must be implemented, but unless #GtkSelectionModel::is_selected() is implemented, it will not be possible to select items in the set.
The model does not need to implement any functions to support either selecting or unselecting items. Of course, if the model does not do that, it means that users cannot select or unselect items in a list widget using the model.
All selection functions fall back to #GtkSelectionModel::set_selection() so it is sufficient to implement just that function for full selection support.