
Figure 5-6. A window created with canvas_event.c
5.8 Canvas and Openwin Package Summaries
Table 5-1 shows the attributes for the CANVAS package and Table 5-2 shows the OPENWIN
attributes. The macros for these packages are shown below. This information is described
fully in the XView Reference Manual.
CANVAS_EACH_PAINT_WINDOW()
CANVAS_END_EACH
OPENWIN_EACH_VIEW()
OPENWIN_END_EACH()
Table 5-1. Canvas Attributes
CANVAS_AUTO_EXPAND CANVAS_PAINTWINDOW_ATTRS
CANVAS_AUTO_SHRINK CANVAS_REPAINT_PROC
CANVAS_FIXED_IMAGE CANVAS_RESIZE_PROC
CANVAS_HEIGHT CANVAS_RETAINED
CANVAS_MIN_PAINT_HEIGHT CANVAS_VIEW_CANVAS_WINDOW
CANVAS_MIN_PAINT_WIDTH CANVAS_VIEW_PAINT_WINDOW
CANVAS_NO_CLIPPING CANVAS_VIEWABLE_RECT
CANVAS_NTH_PAINT_WINDOW CANVAS_WIDTH
CANVAS_PAINT_CANVAS_WINDOW CANVAS_X_PAINT_WINDOW
OPENWIN_VIEWCLASS
110 XView Programming Manual