ToolButton.setStockId
void setStockId(string stockId = null)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.
Parameters
stockId | a name of a stock item, or null |
Deprecated
Use [gtk.tool_button.ToolButton.setIconName] instead.