FLgroup

FLgroup — A FLTK container opcode that groups child widgets.

Description

A FLTK container opcode that groups child widgets.

Syntax

FLgroup "label", iwidth, iheight, ix, iy [, iborder] [, image]

Initialization

label -- a double-quoted string containing some user-provided text, placed near the corresponding widget.

iwidth -- width of widget.

iheight -- height of widget.

ix -- horizontal position of upper left corner of the valuator, relative to the upper left corner of corresponding window (expressed in pixels).

iy -- vertical position of upper left corner of the valuator, relative to the upper left corner of corresponding window (expressed in pixels).

iborder (optional, default=0) -- border type of the container. It is expressed by means of an integer number chosen from the following:

  • 0 - no border

  • 1 - down box border

  • 2 - up box border

  • 3 - engraved border

  • 4 - embossed border

  • 5 - black line border

  • 6 - thin down border

  • 7 - thin up border

If the integer number doesn't match any of the previous values, no border is provided as the default.

image (optional) -- a handle referring to an eventual image opened with the bmopen opcode. If it is set, it allows a skin for that widget.

[Note] Note about the bmopen opcode

Although the documentation mentions the bmopen opcode, it has not been implemented in Csound 4.22.

Performance

Containers are useful to format the graphic appearance of the widgets. The most important container is FLpanel, that actually creates a window. It can be filled with other containers and/or valuators or other kinds of widgets.

There are no k-rate arguments in containers.

See Also

FLgroupEnd, FLpack, FLpackEnd, FLpanel, FLpanelEnd, FLscroll, FLscrollEnd, FLtabs, FLtabsEnd

Credits

Author: Gabriel Maldonado

New in version 4.22