Function
GimpUiint_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 |
|
|
frame_title |
const gchar* |
|
|
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 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 |
|
... |
|
A |
Return value
Returns: | GtkWidget |
A |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |