ToolButton.setStockId

Warning gtk_tool_button_set_stock_id has been deprecated since version 3.10 and should not be used in newly-written code. Use gtk_tool_button_set_icon_name() instead. Sets the name of the stock item. See gtk_tool_button_new_from_stock(). The stock_id property only has an effect if not overridden by non-NULL "label" and "icon_widget" properties. Since 2.4

class ToolButton
void
setStockId
(
string stockId
)

Parameters

stockId string

a name of a stock item, or NULL. [allow-none]

Meta