ToolButton.setStockId

Sets the name of the stock item. See gtk.tool_button.ToolButton.newFromStock. The stock_id property only has an effect if not overridden by non-null #GtkToolButton:label-widget and #GtkToolButton:icon-widget properties.

More...
class ToolButton
void
setStockId
(
string stockId = null
)

Parameters

stockId string

a name of a stock item, or null

Detailed Description