Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
XmtReleasePixmap(3)	    Library Functions Manual	     XmtReleasePixmap(3)

NAME
     XmtReleasePixmap() - release a pixmap or bitmap from the Xmt image cache.

SYNOPSIS
     #include <Xmt/Pixmap.h>
     void XmtReleasePixmap(Widget widget, Pixmap pixmap)

ARGUMENTS
     INPUTS

     widget The widget for which the pixmap was obtained.

     pixmap The bitmap or pixmap to be released.

DESCRIPTION
     XmtReleasePixmap() decrements the cache reference count for a cached pixmap
     returned  by  XmtGetPixmap(), XmtGetBitmap(), XmtLookupBitmap(), XmtLookup-
     Pixmap(), XmtLookupSimplePixmap(), XmtLookupWidgetPixmap(),  or  XmtLookup-
     Bitmask().  If the reference count reaches zero, it deallocates the pixmap,
     deallocates any colors allocated for the pixmap, and frees up memory  asso-
     ciated with it in the cache.

SEE ALSO
     Chapter 5, Using Icons,
     XmtGetBitmap(), XmtGetPixmap(), XmtLookupBitmap(), XmtLookupBitmask(),
     XmtLookupPixmap(), XmtLookupSimplePixmap(), XmtLookupWidgetPixmap(),
     XmtRegisterImage(), XmtRegisterXbmData(), XmtReleasePixmap().

Xmt				   Motif Tools		     XmtReleasePixmap(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=XmtReleasePixmap&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help