1XPropertyEvent(3X11) XLIB FUNCTIONS XPropertyEvent(3X11)
2
3
4
6 XPropertyEvent - PropertyNotify event structure
7
9 The structure for PropertyNotify events contains:
10
11 typedef struct {
12 int type; /∗ PropertyNotify */
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 window;
17 Atom atom;
18 Time time;
19 int state; /∗ PropertyNewValue or PropertyDelete */
20 } XPropertyEvent;
21
22 When you receive this event, the structure members are set as follows.
23
24 The type member is set to the event type constant name that uniquely
25 identifies it. For example, when the X server reports a GraphicsExpose
26 event to a client application, it sends an XGraphicsExposeEvent struc‐
27 ture with the type member set to GraphicsExpose. The display member is
28 set to a pointer to the display the event was read on. The send_event
29 member is set to True if the event came from a SendEvent protocol
30 request. The serial member is set from the serial number reported in
31 the protocol but expanded from the 16-bit least-significant bits to a
32 full 32-bit value. The window member is set to the window that is most
33 useful to toolkit dispatchers.
34
35 The window member is set to the window whose associated property was
36 changed. The atom member is set to the property's atom and indicates
37 which property was changed or desired. The time member is set to the
38 server time when the property was changed. The state member is set to
39 indicate whether the property was changed to a new value or deleted and
40 can be PropertyNewValue or PropertyDelete. The state member is set to
41 PropertyNewValue when a property of the window is changed using
42 XChangeProperty or XRotateWindowProperties (even when adding zero-
43 length data using XChangeProperty) and when replacing all or part of a
44 property with identical data using XChangeProperty or XRotateWindow‐
45 Properties. The state member is set to PropertyDelete when a property
46 of the window is deleted using XDeleteProperty or, if the delete argu‐
47 ment is True, XGetWindowProperty.
48
50 XAnyEvent(3X11), XButtonEvent(3X11), XCreateWindowEvent(3X11), XCircu‐
51 lateEvent(3X11), XCirculateRequestEvent(3X11), XColormapEvent(3X11),
52 XConfigureEvent(3X11), XConfigureRequestEvent(3X11),
53 XCrossingEvent(3X11), XDestroyWindowEvent(3X11), XErrorEvent(3X11),
54 XExposeEvent(3X11), XFocusChangeEvent(3X11), XGetWindowProperty(3X11),
55 XGraphicsExposeEvent(3X11), XGravityEvent(3X11), XKeymapEvent(3X11),
56 XMapEvent(3X11), XMapRequestEvent(3X11), XReparentEvent(3X11), XResiz‐
57 eRequestEvent(3X11), XSelectionClearEvent(3X11), XSelectionEvent(3X11),
58 XSelectionRequestEvent(3X11), XUnmapEvent(3X11), XVisibilityEvent(3X11)
59 Xlib - C Language X Interface
60
61
62
63X Version 11 libX11 1.0.3 XPropertyEvent(3X11)