SList

class SList(listPointer: CPointer<GSList>) : FreeMe

kotlinx-gtk

21 / 08 / 2021

See also

Constructors

SList
Link copied to clipboard
fun SList()
SList
Link copied to clipboard
fun SList(listPointer: CPointer<GSList>)

Types

Companion
Link copied to clipboard
object Companion

Functions

append
Link copied to clipboard
fun append(data: VoidPointer): SList
concat
Link copied to clipboard
fun concat(list: SList): SList
copy
Link copied to clipboard
fun copy(): SList
copyDeep
Link copied to clipboard
fun copyDeep(func: CopyFunction): CPointer<GSList>?
deleteLink
Link copied to clipboard
fun deleteLink(link: SList): SList
find
Link copied to clipboard
fun find(data: VoidPointer): SList?
findCustom
Link copied to clipboard
fun findCustom(data: VoidPointer, func: GCompareFunc): SList?
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): SList
insertBefore
Link copied to clipboard
fun insertBefore(sibling: SList, data: VoidPointer): SList
insertSorted
Link copied to clipboard
fun insertSorted(data: VoidPointer, function: GCompareFunc)
insertSortedWithData
Link copied to clipboard
fun insertSortedWithData(data: VoidPointer, func: CompareDataFunction): SList
last
Link copied to clipboard
fun last(): SList?
nth
Link copied to clipboard
fun nth(index: UInt): SList?
nthData
Link copied to clipboard
fun nthData(index: UInt): VoidPointer?
position
Link copied to clipboard
fun position(link: SList): Int
prepend
Link copied to clipboard
fun prepend(data: VoidPointer): SList
remove
Link copied to clipboard
fun remove(data: VoidPointer): SList
removeAll
Link copied to clipboard
fun removeAll(data: VoidPointer): SList
removeLink
Link copied to clipboard
fun removeLink(link: SList): SList
reverse
Link copied to clipboard
fun reverse(): SList
sort
Link copied to clipboard
fun sort(compareFunc: GCompareFunc): SList
sortWithData
Link copied to clipboard
fun sortWithData(compareDataFunction: CompareDataFunction): SList

Properties

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

Extensions

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