ListStore

class ListStore(listStorePointer: CPointer<GListStore>) : KGObject, ListModel

kotlinx-gtk 05 / 06 / 2021

See also

Constructors

ListStore
Link copied to clipboard
fun ListStore(type: KGType)
ListStore
Link copied to clipboard
fun ListStore(listStorePointer: CPointer<GListStore>)

Types

Companion
Link copied to clipboard
object Companion

Functions

addOnItemChangedCallback
Link copied to clipboard
open fun addOnItemChangedCallback(action: (ListModel.ItemsChanged) -> Unit): SignalManager
addWeakPointer
Link copied to clipboard
fun addWeakPointer(weakPointerLocation: CValuesRef<COpaquePointerVar>)
append
Link copied to clipboard
fun append(item: Value)
bindProperty
Link copied to clipboard
fun bindProperty(property: String, target: KGObject, targetProperty: String, flags: Binding.Flags): Binding
find
Link copied to clipboard
fun find(item: Value): UInt
getObject
Link copied to clipboard
open fun getObject(position: UInt): KGObject?
getString
Link copied to clipboard
fun getString(propertyName: String): String
insert
Link copied to clipboard
fun insert(position: UInt, item: Value)
insertSorted
Link copied to clipboard
fun insertSorted(item: Value, sort: CompareKGValueFunction): UInt
itemsChanged
Link copied to clipboard
open fun itemsChanged(position: UInt, removed: UInt, added: UInt)
ref
Link copied to clipboard
open fun ref(): KGObject
remove
Link copied to clipboard
fun remove(position: UInt)
removeAll
Link copied to clipboard
fun removeAll()
set
Link copied to clipboard
fun set(propertyName: String, boolean: Boolean)
fun set(propertyName: String, string: String)
sort
Link copied to clipboard
fun sort(sort: CompareKGValueFunction)
splice
Link copied to clipboard
fun splice(position: UInt, numberRemovals: UInt, vararg additions: KGObject)
unref
Link copied to clipboard
open override fun unref()

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: CPointer<GListModel>
listStorePointer
Link copied to clipboard
val listStorePointer: CPointer<GListStore>
pointer
Link copied to clipboard
val pointer: CPointer<GObject>
type
Link copied to clipboard
open val type: KGType
typeInstancePointer
Link copied to clipboard
open override val typeInstancePointer: CPointer<GTypeInstance>