XMTRANSFERDONE(3)
π NAME π
XmTransferDone β a toolkit function that completes a data transfer π
Like, this is the library call girlies' manual, bestie. We're in XmTransferDone(library call) territory and it's iconic here. β¨
πΈ SYNOPSIS πΈ
#include <Xm/Xm.h>
void XmTransferDone(
XtPointer transfer_id,
XmTransferStatus status);
π¦ DESCRIPTION π¦
Okay so XmTransferDone completes an already-initiated data transfer operation. It's the "we're done here, wrap it up" moment. π«Ά
An application can call this routine from an XmNdestinationCallback procedure, or literally any function that gets called as a result of it β including the selection procedures that get called as a result of calls to XmTransferValue. No cap. π₯
Whoever calls XmTransferDone has to hand over two things: an identifier for the transfer operation, and an indication of the completion status. And heads up β XmTransferDone causes any remaining transfers for the operation to be discarded. Gone. Bye. π
transfer_idβ Specifies a unique identifier for the data transfer operation. The value must be the same as the value of thetransfer_idmember of theXmDestinationCallbackStructpassed to theXmNdestinationCallbackprocedure. Like, it has to match, fr fr, no swapping in a random one. πstatusβ Specifies the completion status of the data transfer. Here are the possible values, bestie:XmTRANSFER_DONE_SUCCEEDβ The transfer was completed successfully. π This status has the following additional effects:- For a move operation, the selection owner receives a request to convert the selection to the
DELETEtarget. - If a
TRANSACToperation is in progress, the owner receives a request to commit the transaction. - If a
PERSISTor_MOTIF_SNAPSHOToperation is in progress, the owner receives a notification that the operation is finished. - The widget class destination procedure is not called.
- For a move operation, the selection owner receives a request to convert the selection to the
XmTRANSFER_DONE_FAILβ The transfer was completed unsuccessfully. π This status has the following additional effects:- For a move operation, the selection owner does not receive a request to convert the selection to the
DELETEtarget. - For a drag and drop operation, the
DropTransfer'sXmNtransferStatusis set toXmTRANSFER_FAILURE. - If a
TRANSACToperation is in progress, the owner receives a request to abort the transaction. - If a
PERSISTor_MOTIF_SNAPSHOToperation is in progress, the owner receives a notification that the operation is finished. - The widget class destination procedure is not called.
- For a move operation, the selection owner does not receive a request to convert the selection to the
XmTRANSFER_DONE_CONTINUEβ This status has the same effect asXmTRANSFER_DONE_SUCCEED, except that if aPERSISTor_MOTIF_SNAPSHOToperation is in progress, the owner does not receive a notification that the operation is finished. It's giving "same vibe, one tiny plot twist". β¨XmTRANSFER_DONE_DEFAULTβ The widget class destination procedure is called. Further effects depend on the actions of that procedure. So like, whatever that procedure decides to do is the whole story. π€·
π RELATED π
XmTransferSendRequest(3), XmTransferStartRequest(3), XmTransferStartRequest(3), and XmTransferValue(3). (Yes, XmTransferStartRequest(3) is listed twice β the original said it twice, so we say it twice. Periodt. π)
And that's the whole page, bestie β straight outta the library call manual, XmTransferDone(library call), and you absolutely ate it. Go finish those transfers. π¦ππ
π¦ where this page comes from
- alpine 3.24: motif-doc 2.5.2-r0 Β· LGPL-2.1-or-later
- arch rolling: openmotif 2.3.8-4 Β· LGPL-2.1-or-later
- centos-stream 9: motif-devel 2.3.4-32.el9 Β· LGPLv2+
- centos-stream 9: motif-devel 2.3.4-32.el9 Β· LGPLv2+
- epel 10: motif-devel 2.3.8-2.el10_2 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: motif-devel 2.3.8-1.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: motif-devel 2.3.8-1.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: motif-devel 2.3.8-2.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: motif-devel 2.3.8-2.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 44: motif-devel 2.3.8-3.fc44 Β· LicenseRef-Callaway-LGPLv2+
- fedora 44: motif-devel 2.3.8-3.fc44 Β· LicenseRef-Callaway-LGPLv2+
- nixos 26.05: motif 2.3.8
- nixpkgs unstable: motif 2.3.8
- opensuse-leap 16.0: motif-devel 2.3.8-bp160.1.1 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: motif-devel 2.3.8-bp160.1.1 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: motif-devel 2.3.8-bp160.1.1 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: motif-devel 2.3.8-bp160.1.1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms