add


Description:

[ Version ( since = "3.0" ) ]
public void add (string nick, int id, string label, string help)

This procedure adds a new possible value to this list of values.

The id is an optional integer identifier. This can be useful for instance when you want to work with different enum values mapped to each nick.

Parameters:

this

the gimpchoice.

nick

the nick of this.

id

optional integer ID for nick.

label

the label of this.

help

optional longer help text for nick.