FLsetBox
Prev | Orchestra Opcodes and Operators | Next

## FLsetBox

FLsetBox — Sets the appearance of a box surrounding 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/plugins

FLsetBox sets the appearance of a box surrounding the target widget.

## Syntax

    FLsetBox itype, ihandle

## Initialization

itype -- an integer number that modify the appearance of the target widget.

Legal values for the itype argument are:

- 1 - flat box

- 2 - up box

- 3 - down box

- 4 - thin up box

- 5 - thin down box

- 6 - engraved box

- 7 - embossed box

- 8 - border box

- 9 - shadow box

- 10 - rounded box

- 11 - rounded box with shadow

- 12 - rounded flat box

- 13 - rounded up box

- 14 - rounded down box

- 15 - diamond up box

- 16 - diamond down box

- 17 - oval box

- 18 - oval shadow box

- 19 - oval flat box

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

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

## Credits

Author: Gabriel Maldonado

New in version 4.22

Prev | Up | Next
FLsetAlign | Home | FLsetColor