Learn R Programming

RGtk2 (version 2.20.31)

gtkToolButtonNewFromStock: gtkToolButtonNewFromStock

Description

Creates a new GtkToolButton containing the image and text from a stock item. Some stock ids have preprocessor functions like GTK_STOCK_OK and GTK_STOCK_APPLY.

Usage

gtkToolButtonNewFromStock(stock.id, show = TRUE)

Arguments

stock.id
the name of the stock item

Value

GtkToolItem] A new GtkToolButton

Details

It is an error if stock.id is not a name of a stock item. Since 2.4