gtkTreeViewColumnNewWithAttributes: gtkTreeViewColumnNewWithAttributes

Description Usage Arguments Details Value Author(s)

View source: R/gtkManuals.R

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

1

Arguments

title

The title to set the header to.

cell

The GtkCellRenderer.

...

A newly created GtkTreeViewColumn.

Details

Here's a simple example:

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

Value

[GtkTreeViewColumn] A newly created GtkTreeViewColumn.

Author(s)

Derived by RGtkGen from GTK+ documentation


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