MapListModel

class MapListModel(mapListModelPointer: GtkMapListModel_autoptr) : KGObject, ListModel

04 / 01 / 2022

See also

Constructors

MapListModel
Link copied to clipboard
fun MapListModel(model: ListModel?, mapFunc: MapListModelMapFunc?)
MapListModel
Link copied to clipboard
fun MapListModel(mapListModelPointer: GtkMapListModel_autoptr)

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
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)
setMapFunc
Link copied to clipboard
fun setMapFunc(mapFunc: MapListModelMapFunc?)
unref
Link copied to clipboard
open override fun unref()

Properties

gClass
Link copied to clipboard
open val gClass: TypeClass
hasMap
Link copied to clipboard
val hasMap: Boolean
itemCount
Link copied to clipboard
open val itemCount: UInt
listModelPointer
Link copied to clipboard
open override val listModelPointer: GListModel_autoptr
mapListModelPointer
Link copied to clipboard
val mapListModelPointer: GtkMapListModel_autoptr
model
Link copied to clipboard
var model: ListModel?
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>