Gtk.ToolButton.prototype.set_stock_id
function set_stock_id(stock_id:String):void { // Gjs wrapper for gtk_tool_button_set_stock_id() }
Sets the name of the stock item. See Gtk.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
- stock_id
a name of a stock item, or null