NoSelection

class NoSelection(noSelectionPointer: GtkNoSelection_autoptr) : KGObject, SelectionModel

gtk-kt

21 / 11 / 2021

See also

Constructors

NoSelection
Link copied to clipboard
fun NoSelection(model: ListModel?)
NoSelection
Link copied to clipboard
fun NoSelection(noSelectionPointer: GtkNoSelection_autoptr)

Functions

addOnItemChangedCallback
Link copied to clipboard
open fun addOnItemChangedCallback(action: (ListModel.ItemsChanged) -> Unit): SignalManager
addOnSelectionChangedCallback
Link copied to clipboard
open fun addOnSelectionChangedCallback(action: SelectionChangedFunction): SignalManager
addWeakPointer
Link copied to clipboard
fun addWeakPointer(weakPointerLocation: CValuesRef<COpaquePointerVar>)
bindProperty
Link copied to clipboard
fun bindProperty(property: String, target: KGObject, targetProperty: String, flags: Binding.Flags): Binding
getObject
Link copied to clipboard
open fun getObject(position: UInt): KGObject?
getSelectionInRange
Link copied to clipboard
open fun getSelectionInRange(position: UInt, nItems: UInt): KGBitSet
getString
Link copied to clipboard
fun getString(propertyName: String): String
isSelected
Link copied to clipboard
open fun isSelected(position: UInt): Boolean
itemsChanged
Link copied to clipboard
open fun itemsChanged(position: UInt, removed: UInt, added: UInt)
ref
Link copied to clipboard
open fun ref(): KGObject
selectAll
Link copied to clipboard
open fun selectAll(): Boolean
selectionChanged
Link copied to clipboard
open fun selectionChanged(position: UInt, nItems: UInt)
selectItem
Link copied to clipboard
open fun selectItem(position: UInt, unselectRest: Boolean): Boolean
selectRange
Link copied to clipboard
open fun selectRange(position: UInt, nItems: UInt, unselectRest: Boolean): Boolean
set
Link copied to clipboard
fun set(propertyName: String, boolean: Boolean)
fun set(propertyName: String, string: String)
setSelection
Link copied to clipboard
open fun setSelection(selected: KGBitSet, mask: KGBitSet): Boolean
unref
Link copied to clipboard
open override fun unref()
unselectAll
Link copied to clipboard
open fun unselectAll(): Boolean
unselectItem
Link copied to clipboard
open fun unselectItem(position: UInt): Boolean
unselectRange
Link copied to clipboard
open fun unselectRange(position: UInt, nItems: UInt): Boolean

Properties

gClass
Link copied to clipboard
open val gClass: TypeClass
itemCount
Link copied to clipboard
open val itemCount: UInt
listModelPointer
Link copied to clipboard
open override val listModelPointer: GListModel_autoptr
model
Link copied to clipboard
var model: ListModel
noSelectionPointer
Link copied to clipboard
val noSelectionPointer: GtkNoSelection_autoptr
pointer
Link copied to clipboard
val pointer: CPointer<GObject>
selection
Link copied to clipboard
open val selection: KGBitSet
selectionModelPointer
Link copied to clipboard
open override val selectionModelPointer: GtkSelectionModel_autoptr
type
Link copied to clipboard
open val type: KGType
typeInstancePointer
Link copied to clipboard
open override val typeInstancePointer: CPointer<GTypeInstance>