1XtSetSelectionParameters(3) XT FUNCTIONS XtSetSelectionParameters(3)
2
3
4
6 XtSetSelectionParameters - specify target parameters for a selection
7 request with a single target
8
10 #include <X11/Intrinsic.h>
11
12 void XtSetSelectionParameters(Widget requestor, Atom selection, Atom
13 type, XtPointer value, unsigned long length, int format);
14
16 requestor Specifies the widget making the request. Must be of class
17 Core or any subclass thereof.
18
19 selection Specifies the atom that names the selection.
20
21 type Specifies the type of the property in which the parameters
22 will be passed.
23
24 value Specifies a pointer to the parameters.
25
26 length Specifies the number of elements containing data in value,
27 each element of a sized indicated by format.
28
29 format Specifies the size in bits of the data in the elements of
30 value.
31
33 The specified parameters will be copied and stored in a new property of
34 the specified type and format on the requestor's window. To initiate a
35 selection request with a target and these parameters, a subsequent call
36 to XtGetSelectionValue or to XtGetSelectionValueIncremental specifying
37 the same requestor widget and selection atom will generate a ConvertSe‐
38 lection request referring referring to the property containing the
39 parameters. If XtSetSelectionParameters is called more than once with
40 the same widget and selection without a call to specify a request, the
41 most recently specified parameters are used in the subsequent request.
42
43 The possible values of format may be 8, 16, or 32. If the format is 8,
44 the elements of value are assumed to be sizeof(char); if 16,
45 sizeof(short); if 32, sizeof(long).
46
47 To generate a MULTIPLE target request with parameters for any of the
48 multiple targets of the selection request, precede individual calls to
49 XtGetSelectionValue and XtGetSelectionValueIncremental with correspond‐
50 ing individual calls to XtSetSelectionParameters, and enclose these all
51 within XtCreateSelectionRequest and XtSendSelectionRequest. XtGetSe‐
52 lectionValues and XtGetSelectionValuesIncremental cannot be used to
53 make selection requests with parameterized targets.
54
56 XtGetSelectionParameters(3)
57 X Toolkit Intrinsics - C Language Interface
58 Xlib - C Language X Interface
59
60
61
62X Version 11 libXt 1.2.0 XtSetSelectionParameters(3)