TreeSelection

class TreeSelection(treeSelectionPointer: GtkTreeSelection_autoptr) : KGObject

gtk-kt

28 / 08 / 2021

See also

Constructors

TreeSelection
Link copied to clipboard
fun TreeSelection(treeSelectionPointer: GtkTreeSelection_autoptr)

Types

Companion
Link copied to clipboard
object Companion
Selected
Link copied to clipboard
data class Selected(model: TreeModel, iter: TreeIter)
SelectedRows
Link copied to clipboard
data class SelectedRows(model: TreeModel, rows: WrappedKList<TreePath>)

Functions

addOnChangedCallback
Link copied to clipboard
fun addOnChangedCallback(action: () -> Unit): SignalManager
addWeakPointer
Link copied to clipboard
fun addWeakPointer(weakPointerLocation: CValuesRef<COpaquePointerVar>)
bindProperty
Link copied to clipboard
fun bindProperty(property: String, target: KGObject, targetProperty: String, flags: Binding.Flags): Binding
forEachSelected
Link copied to clipboard
fun forEachSelected(treeSelectionForEachFunction: TreeSelectionForEachFunction)
getString
Link copied to clipboard
fun getString(propertyName: String): String
iterIsSelected
Link copied to clipboard
fun iterIsSelected(iter: TreeIter): Boolean
pathIsSelected
Link copied to clipboard
fun pathIsSelected(path: TreePath): Boolean
ref
Link copied to clipboard
open fun ref(): KGObject
selectAll
Link copied to clipboard
fun selectAll()
selectIter
Link copied to clipboard
fun selectIter(iter: TreeIter)
selectPath
Link copied to clipboard
fun selectPath(path: TreePath)
selectRange
Link copied to clipboard
fun selectRange(startPath: TreePath, endPath: TreePath)
set
Link copied to clipboard
fun set(propertyName: String, boolean: Boolean)
fun set(propertyName: String, string: String)
setSelectFunction
Link copied to clipboard
fun setSelectFunction(func: TreeSelectionFunction)
unref
Link copied to clipboard
open override fun unref()
unselectAll
Link copied to clipboard
fun unselectAll()
unselectIter
Link copied to clipboard
fun unselectIter(iter: TreeIter)
unselectPath
Link copied to clipboard
fun unselectPath(path: TreePath)
unselectRange
Link copied to clipboard
fun unselectRange(startPath: TreePath, endPath: TreePath)

Properties

gClass
Link copied to clipboard
open val gClass: TypeClass
mode
Link copied to clipboard
var mode: SelectionMode
pointer
Link copied to clipboard
val pointer: CPointer<GObject>
selected
Link copied to clipboard
val selected: TreeSelection.Selected?
selectedRowCount
Link copied to clipboard
val selectedRowCount: Int
selectedRows
Link copied to clipboard
val selectedRows: TreeSelection.SelectedRows
selectFunction
Link copied to clipboard
val selectFunction: TreeSelectionFunction?
treeSelectionPointer
Link copied to clipboard
val treeSelectionPointer: GtkTreeSelection_autoptr
treeView
Link copied to clipboard
val treeView: TreeView
typeInstancePointer
Link copied to clipboard
open override val typeInstancePointer: CPointer<GTypeInstance>