---
name: "Glue2_6"
section: "3"
platform: "linux"
package: "ivtools-dev"
version: "1.1.3-4"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/Glue2_6"
---

# Glue2\_6(3)

open space between interactors

## NAME

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