NAME
XSetStandardColormap — change the standard colormap property.
SYNOPSIS
void XSetStandardColormap(display, w, cmap_info, property) Display ∗display; Window w; XStandardColormap ∗cmap_info; Atom property;
ARGUMENTS
displaySpecifies a connection to an X server; returned from XOpenDisplay().
wSpecifies the ID of the window with which this colormap will be associated.
cmap_info
Specifies the filled colormap information structure.
propertySpecifies the standard colormap property to set. The predefined standard colormaps are: XA_RGB_BEST_MAP, XA_RGB_RED_MAP, XA_RGB_GREEN_ MAP, XA_RGB_BLUE_MAP, XA_RGB_DEFAULT_MAP, and XA_RGB_ GRAY_MAP.
DESCRIPTION
XSetStandardColormap() has been superseded by XSetRGBColormap as of Release 4.
XSetStandardColormap() defines a standard colormap property.
See description of standard colormaps in Volume One, Chapter 7, Color.
ERRORS
BadAlloc
BadAtom
BadDrawable
BadWindow
STRUCTURES
typedef struct {
Colormap colormap; /∗ ID of colormap made by XCreateColormap ∗/
unsigned long red_max;
unsigned long red_mult;
unsigned long green_max;
unsigned long green_mult;
unsigned long blue_max;
unsigned long blue_mult;
unsigned long base_pixel;
Visual ID visualid;
XID killid; } XStandardColormap; /∗ new fields in R4 ∗/
SEE ALSO
XDefaultColormap(), XDisplayCells(), XCopyColormapAndFree(), XCreateColormap(), XFreeColormap(), XGetStandardColormap(), XInstallColormap(), XListInstalledColormaps(), XSetWindowColormap(), XUninstallColormap().
Xlib Reference Manual