gtkTreeViewColumnNewWithAttributes {RGtk2} | R Documentation |
Creates a new GtkTreeViewColumn
with a number of default values. This is
equivalent to calling gtkTreeViewColumnSetTitle
,
gtkTreeViewColumnPackStart
, and
gtkTreeViewColumnSetAttributes
on the newly created GtkTreeViewColumn
.
gtkTreeViewColumnNewWithAttributes(title, cell, ...)
|
[character] The title to set the header to. |
|
[GtkCellRenderer ] The GtkCellRenderer . |
|
A list of attributes. |
Here's a simple example:
renderer <- gtkCellRendererText() column <- gtkTreeViewColumn("Title", renderer, "text" = TEXT_COLUMN, "foreground" = COLOR_COLUMN)
[GtkTreeViewColumn
] A newly created GtkTreeViewColumn
.
Derived by RGtkGen from GTK+ documentation