1XmTransferSetParameters(library call) XmTransferSetParameters(library call)
2
3
4
6 XmTransferSetParameters — A toolkit function that establishes parame‐
7 ters to be passed by the next call to XmTransferValue
8
10 #include <Xm/Transfer.h>
11
12 void XmTransferSetParameters(
13 XtPointer transfer_id,
14 XtPointer parm,
15 int parm_fmt,
16 unsigned long parm_length,
17 Atom parm_type);
18
20 XmTransferSetParameters establishes a parameter definition. Your
21 application calls XmTransferSetParameters just before calling XmTrans‐
22 ferValue, and only if XmTransferValue needs to transfer a value con‐
23 taining a parameter.
24
25 transfer_id
26 Specifies a unique indentifier for the data transfer opera‐
27 tion. The value must be the same as the value of the trans‐
28 fer_id member of the XmDestinationCallbackStruct passed to
29 the XmNdestinationCallback procedure.
30
31 parm Specifies parameters to be passed to the conversion routine
32 (and the XmNconvertCallback procedures, if any) of the widget
33 that owns the selection. The type and length of parameters
34 are target-specific. If the target takes no parameters, the
35 value is NULL.
36
37 parm_fmt Specifies whether the data in parm should be viewed as a list
38 of 8-bit, 16-bit, or 32-bit quantities. Possible values are
39 0 (when parm is NULL), 8, 16, and 32.
40
41 parm_length
42 Specifies the number of elements of data in parm, where each
43 element has the number of bits specified by parm_fmt. When
44 parm is NULL, the value is 0.
45
46 parm_type Specifies the type of parm.
47
49 XmTransferSendRequest(3), XmTransferStartRequest(3), and XmTransfer‐
50 Value(3).
51
52
53
54 XmTransferSetParameters(library call)