GimpUi.prop_enum_radio_frame_new
Description: Reference for GimpUi.prop_enum_radio_frame_new

### Function

# GimpUiprop_enum_radio_frame_new

since: 2.4

#### Declaration [src]

    GtkWidget*
    gimp_prop_enum_radio_frame_new (
      GObject* config,
      const gchar* property_name,
      const gchar* title,
      gint minimum,
      gint maximum
    )

#### Description [src]

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.

Available since: 2.4

#### Parameters

`config`

  Type: `GObject`

  Object to which property is attached.

  The data is owned by the caller of the function.

`property_name`

  Type: `const gchar*`

  Name of enum property controlled by the radio buttons.

  The data is owned by the caller of the function.
  The value is a NUL terminated UTF-8 string.

`title`

  Type: `const gchar*`

  Label for the frame holding the buttons.

  The argument can be `NULL`.
  The data is owned by the caller of the function.
  The value is a NUL terminated UTF-8 string.

`minimum`

  Type: `gint`

  Smallest value of enum to be included.

`maximum`

  Type: `gint`

  Largest value of enum to be included.

#### Return value

Type: `GtkWidget`

A `GimpFrame` containing the radio buttons.

The caller of the function takes ownership of the data, and is responsible for freeing it.