MenuToolButton.from_stock


Description:

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

Creates a new MenuToolButton.

Note:

Use MenuToolButton instead.

The new MenuToolButton will contain an icon and label from the stock item indicated by stock_id.

Parameters:

stock_id

the name of a stock item

Returns:

the new MenuToolButton