ToolButton.getStockId

string getStockId()

Returns the name of the stock item. See [gtk.tool_button.ToolButton.setStockId]. The returned string is owned by GTK+ and must not be freed or modifed.

Returns

the name of the stock item for button.

Deprecated

Use [gtk.tool_button.ToolButton.getIconName] instead.