Function
GimpUiprop_enum_radio_frame_new
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 |
GObject |
Object to which property is attached. |
|
The data is owned by the caller of the function. | |
property_name |
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 |
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 |
gint |
Smallest value of enum to be included. |
|
maximum |
gint |
Largest value of enum to be included. |
Return value
Returns: | GtkWidget |
A |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |