XMDROPTRANSFERSTART(3)
β¨ XmDropTransferStart β¨
okay bestie, so this is a page from the library call manual β we're deep in X/Motif land, and today's main character is XmDropTransferStart. π
πΈ NAME πΈ
XmDropTransferStart β a Drag and Drop function that initiates a drop transfer, and yes that is literally what it says on the tin π«Ά
π SYNOPSIS π
#include <Xm/DragDrop.h>
Widget XmDropTransferStart(
Widget widget,
ArgList arglist,
Cardinal argcount);
like. look at her. so clean. so iconic. π
π¦ DESCRIPTION π¦
so XmDropTransferStart kicks off a drop transfer and uses the argument list you hand it to initialize an XmDropTransfer object. that's the whole vibe. it's giving "start the thing" energy. β¨
and here's the part you actually need to remember, bestie: you can poke at that DropTransfer object with XtSetValues and XtGetValues until the last call to the XmNtransferProc procedure is made. that's your window. that's your moment. π
β οΈ but after that point?? the result of using the widget pointer is undefined. like, genuinely undefined. not "probably fine", not "lowkey fine" β undefined. do not do it. i'm so serious. π
also very important, no cap: the DropTransfer object is freed by the toolkit when a transfer is complete. so don't go freeing it yourself, she's handled. π
now the arguments, one by one, because we do not skip details in this house π :
widgetβ specifies the ID of theDragContextwidget associated with the transaction. this is the one you're doing the thing with. πarglistβ specifies the argument list. the little list of arguments. you know. πargcountβ specifies the number of attribute/value pairs in the argument list (arglist). count them. all of them. π’
and if you want the complete definition of DropTransfer and all its associated resources β every single one, not just the vibe β go read XmDropTransfer(3). iykyk. π
π RETURN π
returns the ID of the DropTransfer widget. that's it. that's the whole return. slay. π
β¨
π RELATED π
these are her friends, her little circle, her support system π«Ά:
and that's the page, bestie!! πΈ this was XmDropTransferStart from the library call manual β same name up top, same name down at the bottom in the footer, because symmetry is iconic. go initiate a drop transfer. i believe in you. π§π
π¦ 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