Glue(3I)
π Glue(3I) π
okay bestie, gather round, because we're about to talk about Glue, HGlue and VGlue β the literal space-keepers of the InterViews universe. this page lives in the InterViews Reference Manual and honestly? it's giving "tiny file, huge main character energy." π«Ά
β¨ NAME β¨
Glue, HGlue, VGlue β open space between interactors πΈ
π SYNOPSIS π
#include <InterViews/glue.h>
π¦ DESCRIPTION π¦
so a glue object is an interactor whose whole entire job is defining variable-size space between interactors in boxes. that's it. that's the gig. it's the breathing room, the personal space, the "give me a sec" of your layout. π
the HGlue subclass is the one for space in a horizontal box; VGlue is for space in a vertical box. no cap.
now here's the iconic part: along its minor axis (that's vertical for HGlue, horizontal for VGlue), glue has a natural size of zero and infinite stretchability. so it starts as nothing and can become... everything. growth mindset fr fr β¨
π 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. and the shrinkability? the glue's shrinkability is defined to be the same as the natural size, which means it can shrink all the way down to zero. it can fit in any situation, lowkey a queen. πHGlue(int natural, int shrink, int stretch)VGlue(int natural, int shrink, int stretch)β construct glue with a given natural size, shrinkability, and stretchability. now listen, because this is the part where things get spicy πΆοΈ: ifshrinkis larger thannatural, the glue can potentially have what the docs call "negative size", and what that means for you is interactors will overlap in a box. so like... they're gonna be on top of each other. do with that information what you will, bestie. π
π SEE ALSO π
Box(3I), Interactor(3I), Shape(3I) β go read those next, iykyk π§
and that's the whole page!! this was InterViews, dated 15 June 1987 β yes she's vintage, yes she still ate, we love a retro icon. mwah πβ¨
π¦ where this page comes from
- debian bookworm: ivtools-dev 2.0.11d.a1-1+b4
- debian trixie: ivtools-dev 2.0.11d.a1-3+b4
- ubuntu jammy: ivtools-dev 2.0.11d.a1-1build1
- ubuntu noble: ivtools-dev 2.0.11d.a1-3build1
- ubuntu questing: ivtools-dev 2.0.11d.a1-3build7
- ubuntu resolute: ivtools-dev 2.0.11d.a1-3build9
- ubuntu stonking: ivtools-dev 2.1.1+git.2025.07.26.a1-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms