Returns details about a cached pixmap
Format
#include <Xm/XmP.h> Boolean XmeGetPixmapDataScreen *screenPixmap pixmapchar **image_nameint *depthPixel *foregroundPixel *backgroundint *hot_xint *hot_yunsigned int *widthunsigned int *height
DESCRIPTION
Motif maintains a pixmap cache. This cache holds information on the pixmaps currently in use. Use XmeGetPixmapData to determine if a specified pixmap is currently in the pixmap cache. If it is, XmeGetPixmapData returns the value True and returns information for all eight of its output arguments.
If pixmap is not in the pixmap cache, XmeGetPixmapData fetches pixmap from the server, caches pixmap, and then returns False. When XmeGetPixmapData returns False, only depth, width, and height are valid.
XmeGetPixmapData is relatively efficient because it gets the data through a table lookup rather than through a server request.
The caller must not modify or free the returned data.
RETURN
Returns True if pixmap is in the image cache. Otherwise, it returns False.
RELATED