DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

XmDestroyPixmap(Xm)


XmDestroyPixmap -- a pixmap caching function that removes a pixmap from the pixmap cache

Syntax

#include <Xm/Xm.h>

Boolean XmDestroyPixmap (screen, pixmap) Screen * screen; Pixmap pixmap;

Description

XmDestroyPixmap removes pixmaps that are no longer used. Pixmaps are completely freed only when there is no further reference to them.

screen
Specifies the display screen for which the pixmap was requested

pixmap
Specifies the pixmap to be destroyed

Return value

Returns True when successful; returns False if there is no matching screen and pixmap in the pixmap cache.

See also

XmInstallImage(Xm), XmUninstallImage(Xm) and XmGetPixmap(Xm).


© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003