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

NAME

6       XSelectionRequestEvent - SelectionRequest event structure
7

STRUCTURES

9       The structure for SelectionRequest events contains:
10
11       typedef struct {
12               int type;       /* SelectionRequest */
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 owner;
17               Window requestor;
18               Atom selection;
19               Atom target;
20               Atom property;
21               Time time;
22       } XSelectionRequestEvent;
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
32       request.   The  serial member is set from the serial number reported in
33       the protocol but expanded from the 16-bit least-significant bits  to  a
34       full 32-bit value.  The window member is set to the window that is most
35       useful to toolkit dispatchers.
36
37       The owner member is set to the window that was specified by the current
38       owner  in  its XSetSelectionOwner call.  The requestor member is set to
39       the window requesting the selection.  The selection member  is  set  to
40       the  atom  that  names  the selection.  For example, PRIMARY is used to
41       indicate the primary selection.  The target member is set to  the  atom
42       that indicates the type the selection is desired in.  The property mem‐
43       ber can be a property name or None.  The time  member  is  set  to  the
44       timestamp or CurrentTime value from the ConvertSelection request.
45

SEE ALSO

47       XAnyEvent(3),    XButtonEvent(3),    XCreateWindowEvent(3),   XCircula‐
48       teEvent(3),  XCirculateRequestEvent(3),   XColormapEvent(3),   XConfig‐
49       ureEvent(3), XConfigureRequestEvent(3), XCrossingEvent(3), XDestroyWin‐
50       dowEvent(3),  XErrorEvent(3),  XExposeEvent(3),   XFocusChangeEvent(3),
51       XGraphicsExposeEvent(3),       XGravityEvent(3),       XKeymapEvent(3),
52       XMapEvent(3),    XMapRequestEvent(3),    XPropertyEvent(3),     XRepar‐
53       entEvent(3),  XResizeRequestEvent(3),  XSelectionClearEvent(3), XSelec‐
54       tionEvent(3),   XSetSelectionOwner(3),    XUnmapEvent(3),    XVisibili‐
55       tyEvent(3)
56       Xlib - C Language X Interface
57
58
59
60X Version 11                     libX11 1.6.9        XSelectionRequestEvent(3)
Impressum