RGtk2 (version 2.20.31)

gtkTreeViewInsertColumnWithDataFunc: gtkTreeViewInsertColumnWithDataFunc

Description

Convenience function that inserts a new column into the GtkTreeView with the given cell renderer and a GtkCellDataFunc to set cell renderer attributes (normally using data from the model). See also gtkTreeViewColumnSetCellDataFunc, gtkTreeViewColumnPackStart. If tree.view has "fixed_height" mode enabled, then the new column will have its "sizing" property set to be GTK_TREE_VIEW_COLUMN_FIXED.

Usage

gtkTreeViewInsertColumnWithDataFunc(object, position, title, cell, func, data = NULL)

Arguments

object
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 func

Value