gtkTreeViewInsertColumnWithDataFunc: gtkTreeViewInsertColumnWithDataFunc

Description Usage Arguments Value Author(s)

View source: R/gtkFuncs.R

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

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

Arguments

object

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 func

Value

[integer] number of columns in the tree view post-insert

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.