GimpUi.enum_radio_frame_new

function enum_radio_frame_new(enum_type: GObject.Type, label_widget: Gtk.Widget, callback: GObject.Callback): [return_value: Gtk.Widget, first_button: Gtk.Widget] {
    // Gjs wrapper for gimp_enum_radio_frame_new()
}
  

Calls GimpUi.enum_radio_box_new and puts the resulting vbox into a Gtk.Frame.

Since 2.4

enum_type

the GLib.Type of an enum.

label_widget

a Gtk.Widget to use as label for the frame that will hold the radio box.

callback

a callback to connect to the "toggled" signal of each Gtk.RadioButton that is created.

return_value

a new Gtk.Frame holding a group of Gtk.RadioButtons.

first_button

Returns the first button in the created group.