viewcmds(3U) | InterViews Reference Manual | viewcmds(3U) |
CenterCmd, CloseEditorCmd, GravityCmd, GridCmd, GridSpacingCmd, NormSizeCmd, OrientationCmd, RedToFitCmd - commands for modifying editor attributes
#include <Unidraw/Commands/viewcmds.h>
The Unidraw library predefines several commands for altering the attributes of editors and their viewers. CenterCmd centers each of the editor's viewers. CloseEditorCmd closes the editor, removing it from the screen. GravityCmd turns gravity on by activating the editor's GravityVar, if it defines one. GridCmd toggles the visibility of each viewer's grid, while GridSpacingCmd lets the user specify the grid spacing for all grids. Finally, NormSizeCmd sets each viewer's magnification to a factor of one, OrientationCmd toggles each viewer's orientation between landscape mode and portrait mode, and RedToFitCmd changes each viewer's magnification so that its component view is fully visible.
BasicDialog(3U), Command(3U), Grid(3U), Unidraw(3U), Viewer(3U), catcmds(3U), globals(3U), statevars(3U)
24 January 1991 | Unidraw |