XFreePixmap() XFreePixmap()
Name
XFreePixmap - free a pixmap ID.
Synopsis
XFreePixmap(display, pixmap)
Display *display;
Pixmap pixmap;
Arguments
display Specifies a connection to an X server; returned from XOpenDisplay().
pixmap Specifies the pixmap whose ID should be freed.
Description
XFreePixmap() disassociates a pixmap ID from its resource. If no other client has an ID for that resource, it is freed by the server. The
Pixmap should never be referenced again by this client. If it is, the ID will be unknown and a BadPixmap error will result.
Errors
BadPixmap
See Also
XCreateBitmapFromData(), XCreatePixmap(), XCreatePixmapFromBitmapData(), XQueryBestSize(), XQueryBestStipple(), XQueryBestTile(), XRead-
BitmapFile(), XSetTile(), XSetWindowBackgroundPixmap(), XSetWindowBorderPixmap(), XWriteBitmapFile().
Xlib - Pixmaps and Tiles XFreePixmap()