winclose(3G)winclose(3G)NAMEwinclose - closes the identified graphics window
C SPECIFICATION
void winclose(gwid)
long gwid;
PARAMETERS
gwid expects the identifier for the graphics window that you want
closed.
DESCRIPTIONwinclose closes the graphics window associated with identifier gwid. The
identifier for a window is the function return value from the call to
winopen that created the window.
When using the Distributed Graphics Library (DGL), the graphics window
identifier also identifies the graphics server associated with the
window. The DGL directs all subsequent Graphics Library input and output
to the server associated with gwid.
If the window being closed is on a screen for which the getgdesc inquiry
GD_SCRNTYPE returns GD_SCRNTYPE_NOWM, winclose leaves the image
undisturbed.
SEE ALSO
getgdesc, winopen
NOTE
This routine is available only in immediate mode.
Page 1