SelectionModelImpl
data class SelectionModelImpl(val gtkSelectionModelPointer: <Error class: unknown class><<Error class: unknown class>>) : SelectionModel
The SelectionModelImpl type represents a native instance of the SelectionModel interface.
Constructors
Properties
Link copied to clipboard
Link copied to clipboard
open override val gtkSelectionModelPointer: <Error class: unknown class><<Error class: unknown class>>
Functions
Link copied to clipboard
Gets the set containing all currently selected items in the model.
Link copied to clipboard
open fun getSelectionInRange(position: <Error class: unknown class>, nItems: <Error class: unknown class>): Bitset
Gets the set of selected items in a range.
Link copied to clipboard
Checks if the given item is selected.
Link copied to clipboard
open fun onSelectionChanged(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (<Error class: unknown class>, <Error class: unknown class>) -> Unit): <Error class: unknown class>
Emitted when the selection state of some of the items in @model changes.
Link copied to clipboard
open fun selectionChanged(position: <Error class: unknown class>, nItems: <Error class: unknown class>)
Helper function for implementations of GtkSelectionModel
.
Link copied to clipboard
Requests to select an item in the model.
Link copied to clipboard
open fun selectRange(position: <Error class: unknown class>, nItems: <Error class: unknown class>, unselectRest: Boolean): Boolean
Requests to select a range of items in the model.
Link copied to clipboard
Make selection changes.
Link copied to clipboard
Requests to unselect all items in the model.
Link copied to clipboard
Requests to unselect an item in the model.
Link copied to clipboard
open fun unselectRange(position: <Error class: unknown class>, nItems: <Error class: unknown class>): Boolean
Requests to unselect a range of items in the model.