SortListModel

class SortListModel(sortListModelPointer: CPointer<GtkSortListModel>) : KGObject, ListModel

gtk-kt

09 / 09 / 2021

See also

Constructors

SortListModel
Link copied to clipboard
fun SortListModel(model: ListModel?, sorter: Sorter?)
SortListModel
Link copied to clipboard
fun SortListModel(sortListModelPointer: CPointer<GtkSortListModel>)

Functions

addOnItemChangedCallback
Link copied to clipboard
open fun addOnItemChangedCallback(action: (ListModel.ItemsChanged) -> Unit): 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?
getString
Link copied to clipboard
fun getString(propertyName: String): String
itemsChanged
Link copied to clipboard
open fun itemsChanged(position: UInt, removed: UInt, added: UInt)
ref
Link copied to clipboard
open fun ref(): KGObject
set
Link copied to clipboard
fun set(propertyName: String, boolean: Boolean)
fun set(propertyName: String, string: String)
unref
Link copied to clipboard
open override fun unref()

Properties

gClass
Link copied to clipboard
open val gClass: TypeClass
incremental
Link copied to clipboard
var incremental: Boolean
itemCount
Link copied to clipboard
open val itemCount: UInt
listModelPointer
Link copied to clipboard
open override val listModelPointer: CPointer<GListModel>
model
Link copied to clipboard
var model: ListModel?
pending
Link copied to clipboard
val pending: UInt
pointer
Link copied to clipboard
val pointer: CPointer<GObject>
sorter
Link copied to clipboard
var sorter: Sorter?
sortListModelPointer
Link copied to clipboard
val sortListModelPointer: CPointer<GtkSortListModel>
type
Link copied to clipboard
open val type: KGType
typeInstancePointer
Link copied to clipboard
open override val typeInstancePointer: CPointer<GTypeInstance>