ToolButton.this

Creates a new gtk.ToolButton containing the image and text from a stock item. Some stock ids have preprocessor macros like GTK_STOCK_OK and GTK_STOCK_APPLY

It is an error if stock_id is not a name of a stock item.

More...

Parameters

stockId string

the name of the stock item

Return Value

Detailed Description

Deprecated: Use ToolButton.new together with Image.newFromIconName instead.

Throws

ConstructionException GTK+ fails to create the object.

Meta