Class
GtkColumnViewColumn
Description [src]
final class Gtk.ColumnViewColumn : GObject.Object
{
/* No available fields */
}
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 gtk_column_view_column_set_header_menu()
.
A sorter can be associated with a column using
gtk_column_view_column_set_sorter()
, to let users influence sorting
by clicking on the column header.
Constructors
gtk_column_view_column_new
Creates a new GtkColumnViewColumn
that uses the given factory
for
mapping items to widgets.
Instance methods
gtk_column_view_column_get_column_view
Gets the column view that’s currently displaying this column.
gtk_column_view_column_get_factory
Gets the factory that’s currently used to populate list items for this column.
gtk_column_view_column_get_header_menu
Gets the menu model that is used to create the context menu for the column header.
gtk_column_view_column_set_factory
Sets the GtkListItemFactory
to use for populating list items for this column.
gtk_column_view_column_set_fixed_width
If fixed_width
is not -1, sets the fixed width of column
;
otherwise unsets it.
gtk_column_view_column_set_header_menu
Sets the menu model that is used to create the context menu for the column header.
Properties
Gtk.ColumnViewColumn:fixed-width
If not -1, this is the width that the column is allocated, regardless of the size of its content.
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.