GimpUi.prop_enum_radio_frame_new
function prop_enum_radio_frame_new(config: GObject.Object, property_name: String, title: String, minimum: Number(gint), maximum: Number(gint)): Gtk.Widget {
// Gjs wrapper for gimp_prop_enum_radio_frame_new()
}
Creates a group of radio buttons which function to set and display the specified enum property. The minimum and maximum arguments allow only a subset of the enum to be used. If the two arguments are equal (e.g., 0, 0), then the full range of the enum will be used. If title is null, the property_name's nick will be used as label of the returned frame.
Since 2.4
- config
Object to which property is attached.
- property_name
Name of enum property controlled by the radio buttons.
- title
Label for the frame holding the buttons
- minimum
Smallest value of enum to be included.
- maximum
Largest value of enum to be included.
- Returns
A GimpUi.Frame containing the radio buttons.