Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

NAME

XSetWindowBorderPixmap − change a window border tile attribute and repaint the border. 

Synopsis

XSetWindowBorderPixmap(display, w, border_pixmap)
Display *display;
Window w;
Pixmap border_pixmap;

Arguments

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

wSpecifies the ID of an InputOutput window whose border is to be to a file. 

border_pixmap
Specifies any pixmap or CopyFromParent. 

Description

XSetWindowBorderPixmap() sets the border_pixmap attribute of a window and repaints the border.  The border_pixmap can be freed immediately after the call if no further explicit references to it are to be made.  If you specify CopyFromParent, a copy of the parent window’s border pixmap is used.  This function can only be performed on an InputOutput window.  On top-level windows, the window manager often resets the border, so applications should not depend on their settings. 

Errors

BadMatch
BadPixmap
BadWindow

See Also

XCreateBitmapFromData(), XCreatePixmap(), XCreatePixmapFromBitmapData(), XFreePixmap(), XQueryBestSize(), XQueryBestStipple(), XQueryBestTile(), XReadBitmapFile(), XSetTile(), XSetWindowBackgroundPixmap(), XWriteBitmapFile(). 

Copyright O’Reilly & Assoc.  —  

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