GtkTreeViewColumn Constructor
GtkTreeViewColumn ([string title [, GtkCellRenderer cell_renderer [, string attribute [, int column]]]]);
Creates a new column object that can be added to a GtkTreeView with the add_column method.
The first parameter defines the title of the column which is shown on top of the widget. The second one, cell_renderer, is used to draw the actual values in the column of the row.
Parameter attribute selects the attribute of the cell renderer that shall be set.
The last parameter, column defines the number of the GtkTreeModel column that is displayed.
Commonly used attributes
- text for GtkCellRendererText and GtkCellRendererCombo
- pixbuf for GtkCellRendererPixbuf
- active for GtkCellRendererToggle
- value for GtkCellRendererProgress