XSetStandardColormap

This function has been superseded by XSetRGBColormaps().

Syntax

XSetStandardColormap(display, w, colormap, property)
      Display *display;
      Window w;
      XStandardColormap *colormap;
      Atom property;	/* RGB_BEST_MAP, etc. */

Arguments

display Specifies the connection to the X server.
w Specifies the window.
colormap Specifies the colormap.
property Specifies the property name.

Description

The XSetStandardColormap() function usually is only used by window or session managers.

XSetStandardColormap() can generate BadAlloc, BadAtom, BadDrawable, and BadWindow errors.

Diagnostics

BadAlloc The server failed to allocate the requested source or server memory.
BadAtom A value for an Atom argument does not name a defined Atom.
BadDrawable A value for a Drawable argument does not name a defined Window or Pixmap.
BadWindow A value for a Window argument does not name a defined Window.

See also

"Compatibility Functions".
Christophe Tronche, [email protected]