KList

class KList(listPointer: CPointer<GList>) : FreeMe

kotlinx-gtk

09 / 07 / 2021

See also

Constructors

KList
Link copied to clipboard
fun KList()
KList
Link copied to clipboard
fun KList(listPointer: CPointer<GList>)

Types

Companion
Link copied to clipboard
object Companion

Functions

append
Link copied to clipboard
fun append(data: VoidPointer): KList
concat
Link copied to clipboard
fun concat(list: KList): KList
copy
Link copied to clipboard
fun copy(): KList
copyDeep
Link copied to clipboard
fun copyDeep(func: CopyFunction): KList
deleteLink
Link copied to clipboard
fun deleteLink(link: KList): KList
find
Link copied to clipboard
fun find(data: VoidPointer): KList?
findCustom
Link copied to clipboard
fun findCustom(data: VoidPointer, func: GCompareFunc): KList?
first
Link copied to clipboard
fun first(): KList?
forEach
Link copied to clipboard
fun forEach(action: KFunc)
free
Link copied to clipboard
open override fun free()
free1
Link copied to clipboard
fun free1()
freeFull
Link copied to clipboard
fun freeFull(freeFunc: DestroyNotify)
index
Link copied to clipboard
fun index(data: VoidPointer): Int
insert
Link copied to clipboard
fun insert(position: Int, data: VoidPointer): KList
insertBefore
Link copied to clipboard
fun insertBefore(sibling: KList?, data: VoidPointer): KList
insertBeforeLink
Link copied to clipboard
fun insertBeforeLink(sibling: KList?, link: KList): KList
insertSorted
Link copied to clipboard
fun insertSorted(data: VoidPointer, function: GCompareFunc)
insertSortedWithData
Link copied to clipboard
fun insertSortedWithData(data: VoidPointer, func: CompareDataFunction): KList
last
Link copied to clipboard
fun last(): KList?
nth
Link copied to clipboard
fun nth(index: UInt): KList?
nthData
Link copied to clipboard
fun nthData(index: UInt): VoidPointer?
nthPrev
Link copied to clipboard
fun nthPrev(index: UInt): KList?
position
Link copied to clipboard
fun position(link: KList): Int
prepend
Link copied to clipboard
fun prepend(data: VoidPointer): KList
remove
Link copied to clipboard
fun remove(data: VoidPointer): KList
removeAll
Link copied to clipboard
fun removeAll(data: VoidPointer): KList
removeLink
Link copied to clipboard
fun removeLink(link: KList): KList
reverse
Link copied to clipboard
fun reverse(): KList
sort
Link copied to clipboard
fun sort(compareFunc: GCompareFunc): KList
sortWithData
Link copied to clipboard
fun sortWithData(compareDataFunction: CompareDataFunction): KList

Properties

length
Link copied to clipboard
val length: UInt
listPointer
Link copied to clipboard
val listPointer: CPointer<GList>

Extensions

wrap
Link copied to clipboard
inline fun <T> KList.wrap(noinline wrapPointer: VoidPointer.() -> T, noinline getPointer: T.() -> VoidPointer): WrappedKList<T>