Gtk.ToolButton.set_stock_id

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.