enum_icon_box_new_with_range


Description:

[ CCode ( cname = "gimp_enum_icon_box_new_with_range" ) ]
[ Version ( since = "2.10" ) ]
public Widget enum_icon_box_new_with_range (Type enum_type, int minimum, int maximum, string icon_prefix, IconSize icon_size, owned Callback? callback, out unowned Widget first_button)

Just like enum_icon_box_new, this function creates a group of radio buttons, but additionally it supports limiting the range of available enum values.

Parameters:

enum_type

the Type of an enum.

minimum

the minumim enum value

maximum

the maximum enum value

icon_prefix

the prefix of the group of icon names to use.

icon_size

the icon size for the icons

callback

a callback to connect to the "toggled" signal of each RadioButton that is created.

first_button

Returns the first button in the created group.

callback_data

data to pass to the callback.

callback_data_destroy

Destroy function for callback_data.

Returns:

a new horizontal Box holding a group of RadioButtons.


Namespace: GimpUi
Package: gimp-ui-3.0