NAME
ColormapNotify — X ColormapNotify Event
WHEN GENERATED
A ColormapNotify event reports when the colormap attribute of a window changes or when the colormap specified by the attribute is installed, uninstalled, or freed. This event is generated by XChangeWindowAttributes(), XFreeColormap(), XInstallColormap(), and XUninstallColormap().
SELECT WITH
This event is selected with ColormapChangeMask.
XEVENT STRUCTURE NAME
typedef union _XEvent { ... XColormapEvent xcolormap; ... } XEvent;
EVENT STRUCTURE
typedef struct { int type; unsigned long serial; /∗ # of last request processed by server ∗/ Bool send_event; /∗ True if this came from SendEvent request ∗/ Display ∗display; /∗ Display the event was read from ∗/ Window window; Colormap colormap; /∗ a colormap or None ∗/ Bool new; int state; /∗ ColormapInstalled, ColormapUninstalled ∗/ } XColormapEvent;
EVENT STRUCTURE MEMBERS
windowThe window whose associated colormap or attribute changes.
colormapThe colormap associated with the window, either a colormap ID or the constant None. It will be None only if this event was generated due to an XFreeColormap call.
newTrue when the colormap attribute has been changed, or False when the colormap is installed or uninstalled.
stateEither ColormapInstalled or ColormapUninstalled; it indicates whether the colormap is installed or uninstalled.
Xlib Reference Manual