The Alternative Csound Reference Manual
Previous |  | Next

# FLsetColor2

FLsetColor2 -- Sets the secondary (or selection) color of a FLTK widget.

## Description

FLsetColor2 sets the secondary (or selection) color of the target widget.

## Syntax

FLsetColor2 ired, igreen, iblue, ihandle

## Initialization

ired -- The red color of the target widget. The range for each RGB component is 0-255

igreen -- The green color of the target widget. The range for each RGB component is 0-255

iblue -- The blue color of the target widget. The range for each RGB component is 0-255

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.

## See Also

FLcolor, FLcolor2, FLhide, FLlabel, FLsetAlign, FLsetBox, FLsetColor, FLsetFont, FLsetPosition, FLsetSize, FLsetText, FLsetTextColor, FLsetTextSize, FLsetTextType, FLsetVal_i, FLsetVal, FLshow

## Credits

Author: Gabriel Maldonado

New in version 4.22

Previous | Home | Next
FLsetColor | Up | FLsetFont