FLsetTextFLTK:AppearanceFLsetTextFLsetText
Sets the label 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/pluginsFLsetText sets the label of the target widget to the double-quoted text string provided with the itext argument.
SyntaxFLsetText "itext", ihandleFLsetText istr, ihandleInitializationitext -- a double-quoted string denoting the text of the label of the widget.
istr -- an i-value that denotes a string via strset denoting the text of the label of the widget.
ihandle -- 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.
Examples
Here is an example of the FLsetText opcode. It uses the file FLsetText.csd.
Example of the FLsetText opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.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