### Function

# GimpUi int_radio_group_new

#### Declaration [src]

    GtkWidget*
    gimp_int_radio_group_new (
      gboolean in_frame,
      const gchar* frame_title,
      GCallback radio_button_callback,
      gpointer radio_button_callback_data,
      GDestroyNotify radio_button_callback_destroy,
      gint initial,
      ...
    )

#### Description [src]

Convenience function to create a group of radio buttons embedded into a `GtkFrame` or `GtkBox`. This function does the same thing as gimp_radio_group_new2(), but it takes integers as `item_data` instead of pointers, since that is a very common case (mapping an enum to a radio group).

This function is not directly available to language bindings

#### Parameters

`in_frame` | `gboolean`
| `TRUE` if you want a `GtkFrame` around the radio button group.
`frame_title` | `const gchar*`
                        The title of the Frame or `NULL` if you don't want a
                        title.
| The argument can be `NULL`.
| The data is owned by the caller of the function.
| The value is a NUL terminated UTF-8 string.
`radio_button_callback` | `GCallback`
| The callback each button’s “toggled” signal will be connected with.
| The argument can be `NULL`.
`radio_button_callback_data` | `gpointer`
                        The data which will be passed to g_signal_connect().
| The argument can be `NULL`.
| The data is owned by the caller of the function.
`radio_button_callback_destroy` | `GDestroyNotify`
| No description available.
`initial` | `gint`
| The `item_data` of the initially pressed radio button.
`...` | ``
| A `NULL`-terminated `va_list` describing the radio buttons.

#### Return value

Returns: | `GtkWidget`
| A `GtkFrame` or `GtkBox` (depending on `in_frame`).
| The caller of the function takes ownership of the data, and is responsible for freeing it.