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