prop_enum_combo_box_new


Description:

[ CCode ( cname = "gimp_prop_enum_combo_box_new" ) ]
[ Version ( since = "2.4" ) ]
public Widget prop_enum_combo_box_new (Object config, string property_name, int minimum, int maximum)

Creates a IntComboBox widget to display and set the specified enum property.

The mimimum_value and maximum_value give the possibility of restricting the allowed range to a subset of the enum. If the two values are equal (e.g., 0, 0), then the full range of the Enum is used.

Parameters:

config

Object to which property is attached.

property_name

Name of enum property controlled by combo box.

minimum

Smallest allowed value of enum.

maximum

Largest allowed value of enum.

Returns:

The newly created EnumComboBox widget.


Namespace: GimpUi
Package: gimp-ui-3.0