The Direction and Glue types

Purpose

A direction is a region object which can be used as a container to put other regions inside. The use of this type can be necessary if you want to control the positioning of the objects in the window exactly, and the default scale factor or windowfitting do not suffice for your purposes.

Glue (which is in fact the same as a direction, but the name better fits the purpose) can be used to create some "special" effects for positioning objects. Glue is an invisible region which can be used for spacing out other objects. For example, if you have two objects of which one should appear at the left of the window and the other one at the right, then you can put some glue in between, and that glue will stretch to eat unused space (according to the scale factor).

The Type Words

When creating these types of object, the type parameters are:

PW('TYPE_GLUE') or

PW('TYPE_DIRECTION')

The tags

There are no tags for these objects.
PROGS, Professional & Graphical Software
last edited 1996 May 30 (wl)