NAME
CreateNotify — X CreateNotify Event
WHEN GENERATED
A CreateNotify event reports when a window is created.
SELECT WITH
This event is selected on children of a window by specifying the parent window ID with SubstructureNotifyMask. (Note that this event type cannot be selected by StructureNotifyMask.)
XEVENT STRUCTURE NAME
typedef union _XEvent { ... XCreateWindowEvent xcreatewindow; ... } 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 parent; /∗ parent of the window ∗/ Window window; /∗ window ID of window created ∗/ int x, y; /∗ window location ∗/ int width, height; /∗ size of window ∗/ int border_width; /∗ border width ∗/ Bool override_redirect; /∗ creation should be overridden ∗/ } XCreateWindowEvent;
EVENT STRUCTURE MEMBERS
parentThe ID of the created window’s parent.
windowThe ID of the created window.
x, yThe coordinates of the created window relative to its parent.
width, heightThe width and height in pixels of the created window.
border_widthThe width in pixels of the border of the created window.
override_redirectThe override_redirect attribute of the created window. If True, it indicates that the client wants this window to be immune to interception by the window manager of configuration requests. Window managers normally should ignore this event if override_redirect is True.
NOTES
For descriptions of these members, see the XCreateWindow function and the XSetWindowAttributes structure.
Xlib Reference Manual