ColumnViewColumn
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
Properties
The GtkColumnView
this column is a part of.
Factory for populating list items.
If not -1, this is the width that the column is allocated, regardless of the size of its content.
Menu model used to create the context menu for the column header.
Functions
Gets the column view that's currently displaying this column.
Gets the factory that's currently used to populate list items for this column.
Gets the fixed width of the column.
Gets the menu model that is used to create the context menu for the column header.
Returns whether this column is resizable.
Returns whether this column is visible.
Sets the GtkListItemFactory
to use for populating list items for this column.
If @fixed_width is not -1, sets the fixed width of @column; otherwise unsets it.
Sets the menu model that is used to create the context menu for the column header.
Sets whether this column should be resizable by dragging.
Sets whether this column should be visible in views.