1XtGetSelectionRequest(3) XT FUNCTIONS XtGetSelectionRequest(3)
2
3
4
6 XtGetSelectionRequest - retrieve the event that triggered the XtCon‐
7 vertSelectionProc
8
10 #include <X11/Intrinsic.h>
11
12 XSelectionRequestEvent* XtGetSelectionRequest(Widget w, Atom selection,
13 XtRequestId request_id);
14
16 w Specifies the widget.
17
18 selection Specifies the selection being processed.
19
20 request_id
21 Specifies the requestor id in the case of incremental selec‐
22 tions, or NULL in the case of atomic transfers.
23
25 XtGetSelectionRequest may only be called from within an XtConvertSelec‐
26 tionProc procedure and returns a pointer to the SelectionRequest event
27 that caused the conversion procedure to be invoked. Request_id speci‐
28 fies a unique id for the individual request in the case that multiple
29 incremental transfers are outstanding. For atomic transfers,
30 request_id must be specified as NULL. If no SelectionRequest event is
31 being processed for the specified widget, selection, and request_id,
32 XtGetSelectionRequest returns NULL.
33
35 X Toolkit Intrinsics - C Language Interface
36 Xlib - C Language X Interface
37
38
39
40X Version 11 libXt 1.2.0 XtGetSelectionRequest(3)