1XSelectionClearEvent(3) XLIB FUNCTIONS XSelectionClearEvent(3)
2
3
4
6 XSelectionClearEvent - SelectionClear event structure
7
9 The structure for SelectionClear events contains:
10
11 typedef struct {
12 int type; /* SelectionClear */
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 selection;
18 Time time;
19 } XSelectionClearEvent;
20
21 When you receive this event, the structure members are set as follows.
22
23 The type member is set to the event type constant name that uniquely
24 identifies it. For example, when the X server reports a GraphicsExpose
25 event to a client application, it sends an XGraphicsExposeEvent struc‐
26 ture with the type member set to GraphicsExpose. The display member is
27 set to a pointer to the display the event was read on. The send_event
28 member is set to True if the event came from a SendEvent protocol
29 request. The serial member is set from the serial number reported in
30 the protocol but expanded from the 16-bit least-significant bits to a
31 full 32-bit value. The window member is set to the window that is most
32 useful to toolkit dispatchers.
33
34 The selection member is set to the selection atom. The time member is
35 set to the last change time recorded for the selection. The window
36 member is the window that was specified by the current owner (the owner
37 losing the selection) in its XSetSelectionOwner call.
38
40 XAnyEvent(3), XButtonEvent(3), XCreateWindowEvent(3), XCircula‐
41 teEvent(3), XCirculateRequestEvent(3), XColormapEvent(3), XConfig‐
42 ureEvent(3), XConfigureRequestEvent(3), XCrossingEvent(3), XDestroyWin‐
43 dowEvent(3), XErrorEvent(3), XExposeEvent(3), XFocusChangeEvent(3),
44 XGraphicsExposeEvent(3), XGravityEvent(3), XKeymapEvent(3),
45 XMapEvent(3), XMapRequestEvent(3), XPropertyEvent(3), XRepar‐
46 entEvent(3), XResizeRequestEvent(3), XSelectionEvent(3), XSelectionRe‐
47 questEvent(3), XSetSelectionOwner(3), XUnmapEvent(3), XVisibili‐
48 tyEvent(3)
49 Xlib - C Language X Interface
50
51
52
53X Version 11 libX11 1.6.9 XSelectionClearEvent(3)