InterViews Reference Manual -- Glue
NAME
Glue , and related subclasses - open space between interactors
SYNOPSIS
#include <InterViews/glue.h>
DESCRIPTION
A glue object is an interactor that is used to define variable-size space
between interactors in boxes. The HGlue subclass is for space
in a horizontal box; VGlue for space in a vertical box. Along
its minor axis (vertical for HGlue, horizontal for
VGlue), glue has a natural size of zero and infinite
stretchability.
PUBLIC OPERATIONS
HGlue(int natural = 0, int stretch = hfil)
VGlue(int natural = 0, int stretch = vfil)
Construct glue of a minimum size. The glue can be stretched arbitrarily, but
cannot shrink.
HGlue(int natural, int shrink, int stretch)
VGlue(int natural, int shrink, int stretch)
Construct glue with a given natural size, shrinkability, and stretchability.
If shrink is larger than natural the glue potentially can
have ``negative size'', meaning interactors will overlap in a box.
SEE ALSO
Box , Interactor , Shape
Next: Graphic
| Prev: Frame
| Up: index
| Top: index