TreeViewColumn

open class TreeViewColumn(    val gtkTreeViewColumnPointer: <Error class: unknown class><<Error class: unknown class>>) : Buildable, CellLayout(source)

⚠️ Deprecated ⚠️

This is deprecated since version 4.10.

Use class@Gtk.ColumnView and class@Gtk.ColumnViewColumn instead of class@Gtk.TreeView to show a tabular list

A visible column in a class@Gtk.TreeView widget

The GtkTreeViewColumn object represents a visible column in a GtkTreeView widget. It allows to set properties of the column header, and functions as a holding pen for the cell renderers which determine how the data in the column is displayed.

Please refer to the section-tree-widget.html for an overview of all the objects and data types related to the tree widget and how they work together, and to the class@Gtk.TreeView documentation for specifics about the CSS node structure for treeviews and their headers.

Skipped during bindings generation

  • parameter x_offset: x_offset: Out parameter is not supported

  • parameter x_offset: x_offset: Out parameter is not supported

  • method set_attributes: Varargs parameter is not supported

  • method cell-area: Property has no getter nor setter

  • constructor new_with_attributes: Varargs parameter is not supported

Constructors

Link copied to clipboard
constructor()

This is deprecated since version 4.10.

constructor(area: CellArea)

This is deprecated since version 4.10.

constructor(gtkTreeViewColumnPointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open var alignment: <Error class: unknown class>
Link copied to clipboard
open var clickable: Boolean
Link copied to clipboard
open var expand: Boolean
Link copied to clipboard
open var fixedWidth: <Error class: unknown class>
Link copied to clipboard
open override val gtkBuildablePointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open override val gtkCellLayoutPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
val gtkTreeViewColumnPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open var maxWidth: <Error class: unknown class>
Link copied to clipboard
open var minWidth: <Error class: unknown class>
Link copied to clipboard
Link copied to clipboard
open var resizable: Boolean
Link copied to clipboard
Link copied to clipboard
open var sortColumnId: <Error class: unknown class>

Logical sort column ID this column sorts on when selected for sorting. Setting the sort column ID makes the column header clickable. Set to -1 to make the column unsortable.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var spacing: <Error class: unknown class>
Link copied to clipboard
open var title: String
Link copied to clipboard
open var visible: Boolean
Link copied to clipboard
open var widget: Widget?
Link copied to clipboard
open val width: <Error class: unknown class>
Link copied to clipboard
open val xOffset: <Error class: unknown class>

Functions

Link copied to clipboard
open override fun addAttribute(cell: CellRenderer, attribute: String, column: <Error class: unknown class>)

This is deprecated since version 4.10.

Link copied to clipboard

This is deprecated since version 4.10.

Link copied to clipboard
open fun cellSetCellData(treeModel: TreeModel, iter: TreeIter, isExpander: Boolean, isExpanded: Boolean)

This is deprecated since version 4.10.

Link copied to clipboard
open override fun clear()

This is deprecated since version 4.10.

Link copied to clipboard
open override fun clearAttributes(cell: CellRenderer)

This is deprecated since version 4.10.

Link copied to clipboard
open fun clicked()

This is deprecated since version 4.10.

Link copied to clipboard

Emits the "clicked" signal. See onClicked.

Link copied to clipboard
open fun focusCell(cell: CellRenderer)

This is deprecated since version 4.10.

Link copied to clipboard
open fun getArea(): CellArea?

This is deprecated since version 4.10.

---

Link copied to clipboard
open fun getBuildableId(): String?

Gets the ID of the @buildable object.

Link copied to clipboard
open fun getButton(): Widget

This is deprecated since version 4.10.

Link copied to clipboard
open fun getCells(): <Error class: unknown class>

This is deprecated since version 4.10.

---

Link copied to clipboard
open fun getTreeView(): Widget?

This is deprecated since version 4.10.

Link copied to clipboard
fun onClicked(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: () -> Unit): <Error class: unknown class>

Emitted when the column's header has been clicked.

Link copied to clipboard
open override fun packEnd(cell: CellRenderer, expand: Boolean)

This is deprecated since version 4.10.

Link copied to clipboard
open override fun packStart(cell: CellRenderer, expand: Boolean)

This is deprecated since version 4.10.

Link copied to clipboard
open fun queueResize()

This is deprecated since version 4.10.

Link copied to clipboard
open fun reorder(cell: CellRenderer, position: <Error class: unknown class>)

This is deprecated since version 4.10.

---

Link copied to clipboard

This is deprecated since version 4.10.

---

open fun setCellDataFunc(cellRenderer: CellRenderer, func: TreeCellDataFunc?)

This is deprecated since version 4.10.