XAllocStandardColormap

Syntax

XStandardColormap *XAllocStandardColormap()

Arguments

Description

The XAllocStandardColormap() function allocates and returns a pointer to a XStandardColormap structure. Note that all fields in the XStandardColormap structure are initially set to zero. If insufficient memory is available, XAllocStandardColormap() returns NULL. To free the memory allocated to this structure, use XFree().

See also

XAllocColor(), XCreateColormap(), XFree(), XGetRGBColormaps(), XSetCloseDownMode(), XSetRGBColormaps(), "Standard Colormaps".
Christophe Tronche, ch@tronche.com