ColumnViewColumn
Description:
[ CCode ( has_construct_function = false ) ]
public ColumnViewColumn (string? title, owned ListItemFactory? factory)
public ColumnViewColumn (string? title, owned ListItemFactory? factory)
Creates a new `GtkColumnViewColumn` that uses the given factory
for mapping items to widgets.
You most likely want to call [method@Gtk.ColumnView.append_column] next.
The function takes ownership of the argument, so you can write code like:
```c column = gtk_column_view_column_new (_("Name"), gtk_builder_list_item_factory_new_from_resource ("/name.ui")); ```
Parameters:
title |
Title to use for this column |
factory |
The factory to populate items with |
Returns:
a new `GtkColumnViewColumn` using the given |