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

gtkTreeViewColumnNewWithAttributes

gtkTreeViewColumnNewWithAttributes


Description

Creates a new GtkTreeViewColumn with a number of default values. This is equivalent to calling gtkTreeViewColumnSetTitle, gtkTreeViewColumnPackStart, and gtkTreeViewColumnSetAttributes on the newly created GtkTreeViewColumn.

Usage

gtkTreeViewColumnNewWithAttributes(title, cell, ...)

Arguments

title

The title to set the header to.

cell

The GtkCellRenderer.

...

A newly created GtkTreeViewColumn.

Details

Here's a simple example:

renderer <- gtkCellRendererText()
column <- gtkTreeViewColumn("Title", renderer, "text" = TEXT_COLUMN,
                            "foreground" = COLOR_COLUMN)

Value

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.