Package org.gtk.glib.ktx

Types

MutableWrappedKList
Link copied to clipboard
class MutableWrappedKList<T>(wrappedKList: WrappedKList<T>) : AbstractMutableList<T>

kotlinx-gtk

Functions

contains
Link copied to clipboard
inline operator fun KList.contains(data: VoidPointer): Boolean

Check if this KList contains a value matching data

inline operator fun SList.contains(data: VoidPointer): Boolean

Check if this SList contains a value matching data

get
Link copied to clipboard
inline operator fun KList.get(index: UInt): VoidPointer?
inline operator fun SList.get(index: UInt): VoidPointer?

Get value associated with the index

inline operator fun VariantDictionary.get(key: String): Variant?
minus
Link copied to clipboard
inline operator fun KList.minus(data: VoidPointer): KList
inline operator fun SList.minus(data: VoidPointer): SList

Remove operator function

minusAssign
Link copied to clipboard
inline operator fun KList.minusAssign(data: VoidPointer)

Remove operator function, for another style

plus
Link copied to clipboard
inline operator fun VoidPointer.plus(list: KList): KList
inline operator fun VoidPointer.plus(list: SList): SList

Prepend operator function for KList

inline operator fun KList.plus(data: VoidPointer): KList
inline operator fun SList.plus(data: VoidPointer): SList

Append operator function

inline operator fun KList.plus(list: KList): KList
inline operator fun SList.plus(list: SList): SList

Concat operator function

plusAssign
Link copied to clipboard
inline operator fun KList.plusAssign(data: VoidPointer)

Append operator function, for another style

inline operator fun KList.plusAssign(list: KList)

Concat operator function, for another style

set
Link copied to clipboard
inline operator fun KList.set(index: Int, value: VoidPointer)
inline operator fun SList.set(index: Int, value: VoidPointer)

Insert operator function

inline operator fun VariantDictionary.set(key: String, value: Variant)
use
Link copied to clipboard
inline fun <R> KList.use(use: (KList) -> R): R

Use the KList, Then free it while returning the result

WrappedStringKList
Link copied to clipboard
fun WrappedStringKList(memScope: AutofreeScope, kList: KList = KList()): WrappedKList<String>

Easy way to define a string list

WrappedStringSList
Link copied to clipboard
fun WrappedStringSList(memScope: AutofreeScope, sList: SList = SList()): WrappedSList<String>

Easy way to define a string list