RGtk2 (version 2.20.31)

gtkToggleToolButtonNewFromStock: gtkToggleToolButtonNewFromStock

Description

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

Usage

gtkToggleToolButtonNewFromStock(stock.id)

Arguments

stock.id
the name of the stock item

Value

GtkToolItem] A new GtkToggleToolButton

Details

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