Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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

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

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.