Instance Method

addFontMenuWithName:parmId:fontName:parmFlags:

Creates a font menu parameter and adds it to the plug-in's parameter list.

Required.

Declaration

- (BOOL)addFontMenuWithName:(NSString *)name parmId:(UInt32)parmId fontName:(NSString *)fontName parmFlags:(FxParameterFlags)flags;

Parameters

name

Name of the parameter in the user interface.

parmId

Unique identifier for a parameter. Used to retrieve, set, or validate the parameter.

fontName

Font name.

flags

Flags that encode various state values for the parameter. See FxParameterFlags for the possible values.

Return Value

YES if the application successfully creates a font menu parameter; otherwise NO.

See Also

Adding Parameters

- addPushButtonWithName:parmId:selector:parmFlags:

Creates a push button parameter and adds it to the plug-in's parameter list.

Required.

- addHelpButtonWithName:parmId:selector:parmFlags:

Creates a help button parameter and adds it to the plug-in's parameter list.

Required.