[ Previous | Next | Contents | Glossary | Home | Search ]
Motif 2.1 Programmer's Reference


A toolkit function that establishes parameters to be passed by the next call to XmTransferValue


void XmTransferSetParameters
transfer_idXtPointer parmint
parm_fmtunsigned long
parm_lengthAtom parm_type


XmTransferSetParameters establishes a parameter definition. Your application calls XmTransferSetParameters just before calling XmTransferValue, and only if XmTransferValue needs to transfer a value containing a parameter.

Specifies a unique indentifier for the data transfer operation. The value must be the same as the value of the transfer_id member of the XmDestinationCallbackStruct passed to the XmNdestinationCallback procedure.

Specifies parameters to be passed to the conversion routine (and the XmNconvertCallback procedures, if any) of the widget that owns the selection. The type and length of parameters are target-specific. If the target takes no parameters, the value is NULL.

Specifies whether the data in parm should be viewed as a list of 8-bit, 16-bit, or 32-bit quantities. Possible values are 0 (when parm is NULL), 8, 16, and 32.

Specifies the number of elements of data in parm, where each element has the number of bits specified by parm_fmt. When parm is NULL, the value is 0.

Specifies the type of parm.


XmTransferSendRequest (3), XmTransferStartRequest (3), and XmTransferValue (3).

[ Previous | Next | Contents | Glossary | Home | Search ]