Function
GimpUienum_icon_box_new_with_range
Declaration [src]
GtkWidget*
gimp_enum_icon_box_new_with_range (
GType enum_type,
gint minimum,
gint maximum,
const gchar* icon_prefix,
GtkIconSize icon_size,
GCallback callback,
gpointer callback_data,
GDestroyNotify callback_data_destroy,
GtkWidget** first_button
)
Description [src]
Just like gimp_enum_icon_box_new(), this function creates a group of radio buttons, but additionally it supports limiting the range of available enum values.
Available since: | 2.10 |
Parameters
enum_type |
GType |
The |
|
minimum |
gint |
The minumim enum value. |
|
maximum |
gint |
The maximum enum value. |
|
icon_prefix |
const gchar* |
The prefix of the group of icon names to use. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
icon_size |
GtkIconSize |
The icon size for the icons. |
|
callback |
GCallback |
A callback to connect to the “toggled” signal of each
|
|
The argument can be NULL . | |
callback_data |
gpointer |
Data to pass to the |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
callback_data_destroy |
GDestroyNotify |
Destroy function for |
|
first_button |
GtkWidget |
|
|
The argument will be set by the function. | |
The argument can be NULL . | |
The data is owned by the caller of the function. |
Return value
Returns: | GtkWidget |
A new horizontal |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |