void XSetRGBColormaps(display, w, std_colormap, count, property)
Display *display;
Window w;
XStandardColormap *std_colormap;
int count;
Atom property;
| display | Specifies the connection to the X server. |
| w | Specifies the window. |
| std_colormap | Specifies the XStandardColormap structure to be used. |
| count | Specifies the number of colormaps. |
| property | Specifies the property name. |
XSetRGBColormaps() can generate BadAlloc, BadAtom, and BadWindow errors.
| 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. |
| BadWindow | A value for a Window argument does not name a defined Window. |