NAME
XSetSubwindowMode − set the subwindow mode in a graphics context.
Synopsis
XSetSubwindowMode(display, gc, subwindow_mode)
Display *display;
GC gc;
int subwindow_mode;
Arguments
displaySpecifies a connection to an X server; returned from XOpenDisplay().
gcSpecifies the graphics context.
subwindow_mode
Specifies the subwindow mode you want to set for the specified graphics context. Possible values are ClipByChildren or IncludeInferiors.
Description
XSetSubwindowMode() sets the subwindow_mode component of a GC. ClipByChildren means that graphics requests will be clipped by all viewable children. IncludeInferiors means draw through all subwindows. For more information, see Volume One, Chapter 5, The Graphics Context.
Errors
BadAlloc
BadGC
BadValue
See Also
DefaultGC(), XChangeGC(), XCopyGC(), XCreateGC(), XFreeGC(), XGContextFromGC(), XSetArcMode(), XSetBackground(), XSetClipMask(), XSetClipOrigin(), XSetClipRectangles(), XSetDashes(), XSetFillRule(), XSetFillStyle(), XSetForeground(), XSetFunction(), XSetGraphicsExposures(), XSetLineAttributes(), XSetPlaneMask(), XSetState(), XSetStipple(), XSetTSOrigin().
Copyright O’Reilly & Assoc. —