XSetSubwindowMode() XSetSubwindowMode()
Name
XSetSubwindowMode - set the subwindow mode in a graphics context.
Synopsis
XSetSubwindowMode(display, gc, subwindow_mode)
Display *display;
GC gc;
int subwindow_mode;
Arguments
display Specifies a connection to an X server; returned from XOpenDisplay().
gc Specifies the graphics context.
subwindow_mode
Specifies the subwindow mode you want to set for the specified graphics context. Possible values are ClipByChildren or Include-
Inferiors.
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
XDefaultGC(), XChangeGC(), XCopyGC(), XCreateGC(), XFreeGC(), XGContextFromGC(), XSetArcMode(), XSetBackground(), XSetClipMask(), XSetCli-
pOrigin(), XSetClipRectangles(), XSetDashes(), XSetFillRule(), XSetFillStyle(), XSetForeground(), XSetFunction(), XSetGraphicsExposures(),
XSetLineAttributes(), XSetPlaneMask(), XSetState(), XSetStipple(), XSetTSOrigin().
Xlib - Graphics Context XSetSubwindowMode()