insert_column_with_data_func
Description:
public int insert_column_with_data_func (int position, string title, CellRenderer cell, owned TreeCellDataFunc func)
Convenience function that inserts a new column into the `GtkTreeView` with the given cell renderer and a `GtkTreeCellDataFunc` to set cell renderer attributes (normally using data from the model).
Note:
Use [class@Gtk.ListView] or [class@Gtk.ColumnView] instead
See also gtk_tree_view_column_set_cell_data_func
, gtk_tree_view_column_pack_start
. If
this has “fixed_height” mode enabled, then the new column will have its “sizing” property set to be GTK_TREE_VIEW_COLUMN_FIXED.
Parameters:
this |
a `GtkTreeView` |
position |
Position to insert, -1 for append |
title |
column title |
cell |
cell renderer for column |
func |
function to set attributes of cell renderer |
data |
data for |
dnotify |
destroy notifier for |
Returns:
number of columns in the tree view post-insert |