enum_radio_box_new


Description:

[ CCode ( cname = "gimp_enum_radio_box_new" ) ]
[ Version ( since = "2.4" ) ]
public Widget enum_radio_box_new (Type enum_type, owned Callback? callback, out unowned Widget first_button)

Creates a new group of RadioButtons representing the enum values.

A group of radiobuttons is a good way to represent enums with up to three or four values. Often it is better to use a EnumComboBox instead.

Parameters:

enum_type

the Type of an enum.

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


Namespace: GimpUi
Package: gimp-ui-3.0