enum_icon_box_new


Description:

[ CCode ( cname = "gimp_enum_icon_box_new" ) ]
[ Version ( since = "2.10" ) ]
public Widget enum_icon_box_new (Type enum_type, string icon_prefix, IconSize icon_size, owned Callback? callback, out unowned Widget first_button)

Creates a horizontal box of radio buttons with named icons.

The icon name for each icon is created by appending the enum_value's nick to the given icon_prefix.

Parameters:

enum_type

the Type of an enum.

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