ToggleToolButton.newFromStock

Creates a new #GtkToggleToolButton 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...
class ToggleToolButton
static
newFromStock
(
string stockId
)

Parameters

stockId string

the name of the stock item

Return Value

Type: gtk.toggle_tool_button.ToggleToolButton

A new #GtkToggleToolButton

Detailed Description