|
|
| |
XmtReleasePixmap(3) |
FreeBSD Library Functions Manual |
XmtReleasePixmap(3) |
XmtReleasePixmap() - release a pixmap or bitmap from the Xmt image cache.
#include <Xmt/Pixmap.h>
void XmtReleasePixmap(Widget widget, Pixmap
pixmap)
INPUTS
- widget
- The widget for which the pixmap was obtained.
- pixmap
- The bitmap or pixmap to be released.
XmtReleasePixmap() decrements the cache reference count for a cached
pixmap returned by XmtGetPixmap(), XmtGetBitmap(),
XmtLookupBitmap(), XmtLookupPixmap(),
XmtLookupSimplePixmap(), XmtLookupWidgetPixmap(), or
XmtLookupBitmask(). If the reference count reaches zero, it deallocates
the pixmap, deallocates any colors allocated for the pixmap, and frees up
memory associated with it in the cache.
Chapter 5, Using Icons,
XmtGetBitmap(), XmtGetPixmap(), XmtLookupBitmap(),
XmtLookupBitmask(), XmtLookupPixmap(),
XmtLookupSimplePixmap(), XmtLookupWidgetPixmap(),
XmtRegisterImage(), XmtRegisterXbmData(),
XmtReleasePixmap().
Visit the GSP FreeBSD Man Page Interface. Output converted with ManDoc. |