Gtk.RadioToolButton.new_from_stock
function new_from_stock(group:[Gtk.RadioButton], stock_id:String):Gtk.ToolItem {
// Gjs wrapper for gtk_radio_tool_button_new_from_stock()
}Creates a new Gtk.RadioToolButton, adding it to group. The new Gtk.RadioToolButton will contain an icon and label from the stock item indicated by stock_id.
Since 2.4
- group
an existing radio button group, or null if you are creating a new group
- stock_id
the name of a stock item
- Returns
The new Gtk.RadioToolButton