1XCreateWindowEvent(3)           XLIB FUNCTIONS           XCreateWindowEvent(3)
2
3
4

NAME

6       XCreateWindowEvent - CreateNotify event structure
7

STRUCTURES

9       The structure for CreateNotify events contains:
10
11       typedef struct {
12               int type;       /* CreateNotify */
13               unsigned long serial;   /* # of last request processed by server */
14               Bool send_event;        /* true if this came from a SendEvent request */
15               Display *display;       /* Display the event was read from */
16               Window parent;  /* parent of the window */
17               Window window;  /* window id of window created */
18               int x, y;       /* window location */
19               int width, height;      /* size of window */
20               int border_width;       /* border width */
21               Bool override_redirect; /* creation should be overridden */
22       } XCreateWindowEvent;
23
24       When you receive this event, the structure members are set as follows.
25
26       The  type  member  is set to the event type constant name that uniquely
27       identifies it.  For example, when the X server reports a GraphicsExpose
28       event  to a client application, it sends an XGraphicsExposeEvent struc‐
29       ture with the type member set to GraphicsExpose.  The display member is
30       set  to a pointer to the display the event was read on.  The send_event
31       member is set to True if the event came from a SendEvent  protocol  re‐
32       quest.  The serial member is set from the serial number reported in the
33       protocol but expanded from the 16-bit least-significant bits to a  full
34       32-bit value.  The window member is set to the window that is most use‐
35       ful to toolkit dispatchers.
36
37       The parent member is set to the created window's  parent.   The  window
38       member  specifies  the  created window.  The x and y members are set to
39       the created window's coordinates relative to the parent window's origin
40       and  indicate the position of the upper-left outside corner of the cre‐
41       ated window.  The width and height members are set to the  inside  size
42       of  the  created  window (not including the border) and are always non‐
43       zero.  The border_width member is set to the width of the created  win‐
44       dow's  border,  in  pixels.  The override_redirect member is set to the
45       override-redirect attribute of the window.  Window manager clients nor‐
46       mally  should  ignore  this  window  if the override_redirect member is
47       True.
48

SEE ALSO

50       XAnyEvent(3),     XButtonEvent(3),     XCirculateEvent(3),      XCircu‐
51       lateRequestEvent(3),  XColormapEvent(3), XConfigureEvent(3), XConfigur‐
52       eRequestEvent(3),   XCrossingEvent(3),   XDestroyWindowEvent(3),   XEr‐
53       rorEvent(3),    XExposeEvent(3),   XFocusChangeEvent(3),   XGraphicsEx‐
54       poseEvent(3), XGravityEvent(3), XKeymapEvent(3), XMapEvent(3),  XMapRe‐
55       questEvent(3),     XPropertyEvent(3),     XReparentEvent(3),    XResiz‐
56       eRequestEvent(3), XSelectionClearEvent(3), XSelectionEvent(3),  XSelec‐
57       tionRequestEvent(3), XUnmapEvent(3), XVisibilityEvent(3)
58       Xlib - C Language X Interface
59
60
61
62X Version 11                     libX11 1.8.7            XCreateWindowEvent(3)
Impressum