TreeStore

class TreeStore(treeStorePointer: CPointer<GtkTreeStore>) : TreeModel

See also

Constructors

TreeStore
Link copied to clipboard
fun TreeStore(vararg types: KGType)
TreeStore
Link copied to clipboard
fun TreeStore(treeStorePointer: CPointer<GtkTreeStore>)

Functions

addOnReorderedCallback
Link copied to clipboard
open fun addOnReorderedCallback(action: (TreeModel.RowsReordered) -> Unit): SignalManager
addOnRowChangedCallback
Link copied to clipboard
open fun addOnRowChangedCallback(action: (TreeModel.RowChanged) -> Unit): SignalManager
addOnRowDeletedCallback
Link copied to clipboard
open fun addOnRowDeletedCallback(action: (TreeModel.RowDeleted) -> Unit): SignalManager
addOnRowHasChildToggledCallback
Link copied to clipboard
open fun addOnRowHasChildToggledCallback(action: (TreeModel.RowHasChildToggled) -> Unit): SignalManager
addOnRowInsertedCallback
Link copied to clipboard
open fun addOnRowInsertedCallback(action: (TreeModel.RowInserted) -> Unit): SignalManager
append
Link copied to clipboard
fun append(iter: TreeIter?, iter2: TreeIter?)
clear
Link copied to clipboard
fun clear()
getIter
Link copied to clipboard
open fun getIter(path: TreePath): TreeIter
getPath
Link copied to clipboard
open fun getPath(iter: TreeIter): TreePath
insert
Link copied to clipboard
fun insert(iter: TreeIter, parent: TreeIter?, position: Int)
insertAfter
Link copied to clipboard
fun insertAfter(iter: TreeIter, parent: TreeIter?, sibling: TreeIter?)
insertBefore
Link copied to clipboard
fun insertBefore(iter: TreeIter, parent: TreeIter?, sibling: TreeIter?)
insertWithValues
Link copied to clipboard
fun insertWithValues(iter: TreeIter?, parent: TreeIter?, position: Int, pairs: Array<Pair<Int, Value>>)
isAncestor
Link copied to clipboard
fun isAncestor(iter: TreeIter, descendant: TreeIter): Boolean
iterDepth
Link copied to clipboard
fun iterDepth(iter: TreeIter): Int
iterHasChild
Link copied to clipboard
open fun iterHasChild(iter: TreeIter): Boolean
iterIsValid
Link copied to clipboard
fun iterIsValid(iter: TreeIter): Boolean
moveAfter
Link copied to clipboard
fun moveAfter(iter: TreeIter, position: TreeIter?)
moveBefore
Link copied to clipboard
fun moveBefore(iter: TreeIter, position: TreeIter?)
prepend
Link copied to clipboard
fun prepend(iter: TreeIter, parent: TreeIter?)
remove
Link copied to clipboard
fun remove(iter: TreeIter): Int
reorder
Link copied to clipboard
fun reorder(parent: TreeIter?, newOrder: Array<Int>)
setColumnTypes
Link copied to clipboard
fun setColumnTypes(types: Array<KGType>)
setValue
Link copied to clipboard
fun setValue(iter: TreeIter, column: Int, value: Value?)
setValues
Link copied to clipboard
fun setValues(iter: TreeIter, pairs: Array<Pair<Int, Value>>)
swap
Link copied to clipboard
fun swap(a: TreeIter, b: TreeIter)

Properties

treeModelPointer
Link copied to clipboard
open override val treeModelPointer: CPointer<GtkTreeModel>
treeStorePointer
Link copied to clipboard
val treeStorePointer: CPointer<GtkTreeStore>