1XDestroyWindowEvent(3) XLIB FUNCTIONS XDestroyWindowEvent(3)
2
3
4
6 XDestroyWindowEvent - DestroyNotify event structure
7
9 The structure for DestroyNotify events contains:
10
11 typedef struct {
12 int type; /* DestroyNotify */
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 event;
17 Window window;
18 } XDestroyWindowEvent;
19
20 When you receive this event, the structure members are set as follows.
21
22 The type member is set to the event type constant name that uniquely
23 identifies it. For example, when the X server reports a GraphicsExpose
24 event to a client application, it sends an XGraphicsExposeEvent struc‐
25 ture with the type member set to GraphicsExpose. The display member is
26 set to a pointer to the display the event was read on. The send_event
27 member is set to True if the event came from a SendEvent protocol re‐
28 quest. The serial member is set from the serial number reported in the
29 protocol but expanded from the 16-bit least-significant bits to a full
30 32-bit value. The window member is set to the window that is most use‐
31 ful to toolkit dispatchers.
32
33 The event member is set either to the destroyed window or to its par‐
34 ent, depending on whether StructureNotify or SubstructureNotify was se‐
35 lected. The window member is set to the window that is destroyed.
36
38 XAnyEvent(3), XButtonEvent(3), XCreateWindowEvent(3), XCircula‐
39 teEvent(3), XCirculateRequestEvent(3), XColormapEvent(3), XConfig‐
40 ureEvent(3), XConfigureRequestEvent(3), XCrossingEvent(3), XEr‐
41 rorEvent(3), XExposeEvent(3), XFocusChangeEvent(3), XGraphicsEx‐
42 poseEvent(3), XGravityEvent(3), XKeymapEvent(3), XMapEvent(3), XMapRe‐
43 questEvent(3), XPropertyEvent(3), XReparentEvent(3), XResiz‐
44 eRequestEvent(3), XSelectionClearEvent(3), XSelectionEvent(3), XSelec‐
45 tionRequestEvent(3), XUnmapEvent(3), XVisibilityEvent(3)
46 Xlib - C Language X Interface
47
48
49
50X Version 11 libX11 1.7.0 XDestroyWindowEvent(3)