logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Glue, HGlue, VGlue - open space between interactors

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.

Name

       Glue, HGlue, VGlue - open space between interactors

Public Operations

HGlue(intnatural=0,intstretch=hfil)VGlue(intnatural=0,intstretch=vfil)
              Construct glue with a given natural size and stretchability.  The glue's shrinkability is  defined
              to be the same as the natural size, meaning it can shrink to zero.

       HGlue(intnatural,intshrink,intstretch)VGlue(intnatural,intshrink,intstretch)
              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(3I), Interactor(3I), Shape(3I)

InterViews                                        15 June 1987                                          Glue(3I)

Synopsis

#include<InterViews/glue.h>

See Also