FLsetFontFLTK:AppearanceFLsetFontFLsetFont
Sets the font type of a FLTK widget.
Description
Plugin opcode in widgets. This opcode is part of the plugin repository and has to be installed separately. These FLTK widgets do not work on the Mac.
The plugin repository can be found here: https://github.com/csound/pluginsFLsetFont sets the font type of the target widget.
SyntaxFLsetFont ifont, ihandleInitializationifont -- sets the the font type of the label of a widget.
Legal values for ifont argument are:
1 - Helvetica (same as Arial under Windows)2 - Helvetica Bold3 - Helvetica Italic4 - Helvetica Bold Italic5 - Courier6 - Courier Bold7 - Courier Italic8 - Courier Bold Italic9 - Times10 - Times Bold11 - Times Italic12 - Times Bold Italic13 - Symbol14 - Screen15 - Screen Bold16 - Dingbatsihandle -- an integer number (used as unique identifier) taken from the output of a previously located widget opcode (which corresponds to the target widget). It is used to unequivocally identify the widget when modifying its appearance with this class of opcodes. The user must not set the ihandle value directly, otherwise a Csound crash will occur.
See AlsoFLcolor2,
FLhide,
FLlabel,
FLsetAlign,
FLsetBox,
FLsetColor,
FLsetColor2,
FLsetFont,
FLsetPosition,
FLsetSize,
FLsetText,
FLsetTextColor,
FLsetTextSize,
FLsetTextType,
FLsetVal_i,
FLsetVal,
FLshowCreditsAuthor: &namegabriel;New in version 4.22