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

NAME

6       XPropertyEvent - PropertyNotify event structure
7

STRUCTURES

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  re‐
30       quest.  The serial member is set from the serial number reported in the
31       protocol but expanded from the 16-bit least-significant bits to a  full
32       32-bit value.  The window member is set to the window that is most use‐
33       ful 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

SEE ALSO

50       XAnyEvent(3),   XButtonEvent(3),    XCreateWindowEvent(3),    XCircula‐
51       teEvent(3),   XCirculateRequestEvent(3),   XColormapEvent(3),  XConfig‐
52       ureEvent(3), XConfigureRequestEvent(3), XCrossingEvent(3), XDestroyWin‐
53       dowEvent(3),   XErrorEvent(3),  XExposeEvent(3),  XFocusChangeEvent(3),
54       XGetWindowProperty(3),    XGraphicsExposeEvent(3),    XGravityEvent(3),
55       XKeymapEvent(3),  XMapEvent(3), XMapRequestEvent(3), XReparentEvent(3),
56       XResizeRequestEvent(3),  XSelectionClearEvent(3),   XSelectionEvent(3),
57       XSelectionRequestEvent(3), XUnmapEvent(3), XVisibilityEvent(3)
58       Xlib - C Language X Interface
59
60
61
62X Version 11                     libX11 1.8.1                XPropertyEvent(3)
Impressum