EnumStore.with_range


Description:

[ CCode ( cname = "gimp_enum_store_new_with_range" , has_construct_function = false , type = "GtkListStore*" ) ]
[ Version ( since = "2.4" ) ]
public EnumStore.with_range (Type enum_type, int minimum, int maximum)

Creates a new EnumStore like EnumStore but allows to limit the enum values to a certain range.

Values smaller than minimum or larger than maximum are not added to the store.

Parameters:

enum_type

the Type of an enum.

minimum

the minimum value to include

maximum

the maximum value to include

Returns:

a new EnumStore.