Colormap *XListInstalledColormaps(display, w, num_return)
Display *display;
Window w;
int *num_return;
display | Specifies the connection to the X server. |
w | Specifies the window that determines the screen. |
num_return | Returns the number of currently installed colormaps. |
XListInstalledColormaps() can generate a BadWindow error.
BadWindow | A value for a Window argument does not name a defined Window. |