Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ClearWindow(3X) — DeltaWindows 1.3.3 Release 4 Version 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

 

NAME

XClearWindow — clear an entire window. 

SYNOPSIS

XClearWindow(display, w) Display ∗display; Window w;

ARGUMENTS

displaySpecifies a connection to an X server; returned from XOpenDisplay(). 

wSpecifies the ID of the window to be cleared. 

DESCRIPTION

XClearWindow() clears a window, but does not cause exposure events.  This function is equivalent to XClearArea(display, w, 0, 0, 0, 0, False). 

If the window has a defined background tile or it is ParentRelative, the rectangle is tiled with a plane_mask of all 1’s and function of GXcopy.  If the window has background None, the contents of the window are not changed. 

For more information, see Volume One, Chapter 6, Drawing Graphics and Text. 

ERRORS

BadMatchIf w is an InputOnly class window. 

BadWindow

SEE ALSO

XClearArea(), XCopyArea(), XCopyPlane(), XDraw, XDrawArc(), XDrawArcs(), XDrawFilled(), XDrawLine(), XDrawLines(), XDrawPoint(), XDrawPoints(), XDrawRectangle(), XDrawRectangles(), XDrawSegments(), XFillArc(), XFillArcs(), XFillPolygon(), XFillRectangle(), XFillRectangles(). 

Xlib Reference Manual

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026