get_choice_id


Description:

public int get_choice_id (string property_name)

A utility function which will get the current string value of a GimpParamSpecChoice property in this and convert it to the integer ID mapped to this value.

This makes it easy to work with an Enum type locally, within a plug-in code.

Parameters:

this

a ProcedureConfig

property_name

the name of a GimpParamSpecChoice property.