Status XGetRGBColormaps(display, w, std_colormap_return, count_return, property)
Display *display;
Window w;
XStandardColormap **std_colormap_return;
int *count_return;
Atom property;
| display | Specifies the connection to the X server. |
| w | Specifies the window. |
| std_colormap_return | Returns the XStandardColormap structure. |
| count_return | Returns the number of colormaps. |
| property | Specifies the property name. |
XGetRGBColormaps() can generate BadAtom and BadWindow errors.
| 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. |