set_stock_id


Description:

public void set_stock_id (string stock_id)

Sets the name of the stock item.

Note:

Use set_icon_name instead.

See ToolButton.from_stock. The stock_id property only has an effect if not overridden by non-null label_widget and icon_widget properties.

Parameters:

this

a ToolButton

stock_id

a name of a stock item, or null