gtkTreeViewColumnNewWithAttributes {RGtk2}R Documentation

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 list of attributes.

Details

Here's a simple example:

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


[Package RGtk2 version 2.20.21 Index]