enum_radio_box_new_with_range


Description:

[ CCode ( cname = "gimp_enum_radio_box_new_with_range" ) ]
[ Version ( since = "2.4" ) ]
public Widget enum_radio_box_new_with_range (Type enum_type, int minimum, int maximum, owned Callback? callback, out unowned Widget first_button)

Just like enum_radio_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 minimum enum value

maximum

the maximum enum value

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 vertical Box holding a group of RadioButtons


Namespace: GimpUi
Package: gimp-ui-3.0