GimpUi.int_radio_group_set_active

function int_radio_group_set_active(radio_button: Gtk.RadioButton, item_data: Number(gint)): void {
    // Gjs wrapper for gimp_int_radio_group_set_active()
}
  

Calls gtk_toggle_button_set_active() with the radio button that was created with a matching item_data. This function does the same thing as gimp_radio_group_set_active(), but takes integers as item_data instead of pointers.

radio_button

Pointer to a Gtk.RadioButton.

item_data

The item_data of the radio button you want to select.