TreeListModel

class TreeListModel(treeListModelPointer: CPointer<GtkTreeListModel>) : KGObject, ListModel

gtk-kt

01 / 09 / 2021

See also

Constructors

TreeListModel
Link copied to clipboard
fun TreeListModel(root: ListModel, passthrough: Boolean, autoexpand: Boolean, createFunction: TreeListModelCreateModelFunction)
TreeListModel
Link copied to clipboard
fun TreeListModel(treeListModelPointer: CPointer<GtkTreeListModel>)

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>)
bindProperty
Link copied to clipboard
fun bindProperty(property: String, target: KGObject, targetProperty: String, flags: Binding.Flags): Binding
getChildRow
Link copied to clipboard
fun getChildRow(position: UInt): TreeListRow?
getObject
Link copied to clipboard
open fun getObject(position: UInt): KGObject?
getRow
Link copied to clipboard
fun getRow(position: UInt): TreeListRow?
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

autoexpand
Link copied to clipboard
var autoexpand: Boolean
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>
model
Link copied to clipboard
val model: ListModel
passthrough
Link copied to clipboard
val passthrough: Boolean
pointer
Link copied to clipboard
val pointer: CPointer<GObject>
treeListModelPointer
Link copied to clipboard
val treeListModelPointer: CPointer<GtkTreeListModel>
type
Link copied to clipboard
open val type: KGType
typeInstancePointer
Link copied to clipboard
open override val typeInstancePointer: CPointer<GTypeInstance>