1.68 class grbox

A grbox (graphical box) wraps an arbitrary xpce graphical so it can participate in the typesetting of a parbox. The encapsulated graphical is displayed on the parbox device and otherwise behaves like any other graphical. See class parbox for an overview of the document rendering system.

See also
- class parbox
- class hbox
- class tbox

1.68.1 Instance variables

grbox <- graphical: graphical
The encapsulated graphical. This may be any xpce graphical object; it is displayed on the parbox device and behaves like any other graphical.
grbox <- alignment: {top,center,bottom,left,right}
Placement inside the paragraph:

1.68.2 Send methods

grbox ->initialise: graphical=graphical, alignment=[{top,center,bottom,left,right}], rubber=[rubber]*
Create a grbox wrapping the given graphical with optional alignment and a rubber for stretch/shrink behaviour.
grbox ->compute:
Recompute the wrapped graphical and refresh the grbox dimensions (width, ascent, descent) to match.