ColumnViewColumn

open class ColumnViewColumn(pointer: <Error class: unknown class><<Error class: unknown class>>)

GtkColumnViewColumn represents the columns being added to a GtkColumnView.

The main ingredient for a GtkColumnViewColumn is the GtkListItemFactory that tells the columnview how to create cells for this column from items in the model.

Columns have a title, and can optionally have a header menu set with method@Gtk.ColumnViewColumn.set_header_menu.

A sorter can be associated with a column using method@Gtk.ColumnViewColumn.set_sorter, to let users influence sorting by clicking on the column header.

Constructors

Link copied to clipboard
constructor(title: String? = null, factory: ListItemFactory? = null)

Creates a new GtkColumnViewColumn that uses the given @factory for mapping items to widgets.

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The GtkColumnView this column is a part of.

Link copied to clipboard
open var expand: Boolean

Column gets share of extra width allocated to the view.

Link copied to clipboard

Factory for populating list items.

Link copied to clipboard
open var fixedWidth: <Error class: unknown class>

If not -1, this is the width that the column is allocated, regardless of the size of its content.

Link copied to clipboard
val gtkColumnViewColumnPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open var headerMenu: <Error class: unknown class>?

Menu model used to create the context menu for the column header.

Link copied to clipboard
open var id: String?

An ID for the column.

Link copied to clipboard
open var resizable: Boolean

Whether this column is resizable.

Link copied to clipboard
open var sorter: Sorter?

Sorter for sorting items according to this column.

Link copied to clipboard
open var title: String?

Title displayed in the header.

Link copied to clipboard
open var visible: Boolean

Whether this column is visible.