1XtCreateSelectionRequest(3)      XT FUNCTIONS      XtCreateSelectionRequest(3)
2
3
4

NAME

6       XtCreateSelectionRequest, XtSendSelectionRequest, XtCancelSelection‐
7       Request - bundle multiple selection conversion requests into a single
8       request using MULTIPLE target
9

SYNTAX

11       void XtCreateSelectionRequest(Widget requestor, Atom selection):
12
13       void XtSendSelectionRequest(Widget requestor, Atom selection, Time
14              time);
15
16       void XtCancelSelectionRequest(Widget requestor, Atom selection);
17

ARGUMENTS

19       requestor Specifies the widget making the request. Must be of class
20                 Core or a subclass thereof.
21
22       selection Specifies the particular selection desired.
23
24       time      Specifies the timestamp to be used in making the request.
25

DESCRIPTION

27       When XtCreateSelectionRequest is called, subsequent calls to XtGetSe‐
28       lectionValue and XtGetSelectionValueIncremental with the requestor and
29       selection as specified to XtCreateSelectionRequest will be bundled into
30       a single selection conversion request with multiple targets. The
31       request is actually initiated by calling XtSendSelectionRequest.
32
33       When XtSendSelectionRequest is called with a value of requestor and
34       selection matching a previous call to XtCreateSelectionRequest, a
35       selection conversion request is actually sent to the selection owner.
36       If a single target request is queued, that request is made. If multiple
37       targets are queued they are bundled into a single request with the tar‐
38       get MULTIPLE using the specified timestamp. As the conversions are
39       made, the callbacks associated with each XtGetSelectionValue and XtGet‐
40       SelectionValueIncremental are invoked in turn.
41
42       Multi-threaded applications should lock the application context before
43       calling XtCreateSelectionRequest and release the lock after calling
44       XtSendSelectionRequest to ensure that the thread assembling the request
45       is safe from interference by another thread assembling a different
46       request naming the same widget and selection.
47
48       When XtCancelSelectionRequest is called, any requests queued since the
49       last call to XtCreateSelectionRequest are cleaned up. Subsequent calls
50       to XtGetSelectionValue, XtGetSelectionValues, XtGetSelectionValueIncre‐
51       mental, and XtGetSelectionValuesIncremental will not be deferred.
52

SEE ALSO

54       X Toolkit Intrinsics - C Language Interface
55       Xlib - C Language X Interface
56
57
58
59X Version 11                      libXt 1.0.7      XtCreateSelectionRequest(3)
Impressum