StringList

class StringList(stringListPointer: CPointer<GtkStringList>) : KGObject, ListModel

gtk-kt

27 / 08 / 2021

See also

Constructors

StringList
Link copied to clipboard
fun StringList(strings: Array<out String>?)
StringList
Link copied to clipboard
fun StringList(stringListPointer: CPointer<GtkStringList>)

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(string: String)
bindProperty
Link copied to clipboard
fun bindProperty(property: String, target: KGObject, targetProperty: String, flags: Binding.Flags): Binding
get
Link copied to clipboard
fun get(position: UInt): String?
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
remove
Link copied to clipboard
fun remove(position: UInt)
set
Link copied to clipboard
fun set(propertyName: String, boolean: Boolean)
fun set(propertyName: String, string: String)
splice
Link copied to clipboard
fun splice(position: UInt, nRemovals: UInt, additions: Array<String>)
take
Link copied to clipboard
fun take(string: CStringPointer)
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>
pointer
Link copied to clipboard
val pointer: CPointer<GObject>
stringListPointer
Link copied to clipboard
val stringListPointer: CPointer<GtkStringList>
type
Link copied to clipboard
open val type: KGType
typeInstancePointer
Link copied to clipboard
open override val typeInstancePointer: CPointer<GTypeInstance>