A toolkit function that establishes a procedure to be called when data transfer is complete
Format
#include <Xm/TransferP.h> void XmeTransferAddDoneProcXtPointer transfer_idXmSelectionFinishedProc done_proc
DESCRIPTION
XmeTransferAddDoneProc establishes a procedure to be called by the toolkit when a data transfer operation is complete. This routine can be called from an XmNdestinationCallback procedure or from any function called as a result, including the following:
If more than one such procedure has been established for a given transfer operation, all procedures are called when the transfer operation is complete.
The done_proc argument holds a function of type XmSelectionFinishedProc, which has the following definition:
void (* XmSelectionFinishedProc)Widget widgetXtEnum operationXmTransferDoneCallbackStruct *call_data
XmTransferDoneCallbackStruct is defined as follows:
typedef struct { int reason; XEvent * event; Atom selection; XtPointer transfer_id; XmTransferStatus status; XtPointer client_data; } XmTransferDoneCallbackStruct;
The XmeTransferAddDoneProc routine takes the following arguments:
RELATED
XmQTtransfer(3), XmTransferDone(3), XmTransferValue(3), XmeClipboardSink(3), XmeClipboardSource(3), XmeConvertMerge(3), XmeDragSource(3), XmeDropSink(3), XmeGetEncodingAtom(3), XmePrimarySink(3), XmePrimarySource(3), XmeSecondarySink(3), XmeSecondarySource(3), XmeSecondaryTransfer(3), XmeStandardConvert(3), and XmeStandardTargets(3).