ColumnViewColumn
Object Hierarchy:
Description:
[
CCode ( type_id =
"gtk_column_view_column_get_type ()" ) ]
public class ColumnViewColumn :
Object
`GtkColumnViewColumn` represents the columns being added to `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.
Content:
Properties:
- public ColumnView column_view { get; }
The `GtkColumnView` this column is a part of.
- public bool expand { get; set; }
Column gets share of extra width allocated to the view.
- public ListItemFactory factory { get; set; }
Factory for populating list items.
- public int fixed_width { get; set; }
If not -1, this is the width that the column is allocated, regardless of the
size of its content.
- public MenuModel header_menu { get; set; }
Menu model used to create the context menu for the column header.
- public bool resizable { get; set; }
Whether this column is resizable.
- public Sorter sorter { get; set; }
Sorter for sorting items according to this column.
- public string title { get; set; }
Title displayed in the header.
- public bool visible { get; set; }
Whether this column is visible.
Creation methods:
Methods:
Inherited Members:
All known members inherited from class GLib.Object