ToggleToolButton.from_stock


Description:

[ CCode ( has_construct_function = false , type = "GtkToolItem*" ) ]
public ToggleToolButton.from_stock (string stock_id)

Creates a new ToggleToolButton containing the image and text from a stock item.

Note:

Use ToggleToolButton instead.

Some stock ids have preprocessor macros like OK and APPLY.

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

Parameters:

stock_id

the name of the stock item

Returns:

A new ToggleToolButton