XMDRAGCANCEL(3)

πŸ“¦
version 2.5.2 Β· 2 versions
, in alpine 3.24, arch rolling, centos-stream 9, epel 10, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0

✨ NAME ✨

okay so bestie, meet XmDragCancel β€” it's a library call, and it's literally a Drag and Drop function that terminates a drag transaction. no cap, that's the whole vibe. πŸ’…


🌈 SYNOPSIS 🌈

#include <Xm/DragDrop.h>
void XmDragCancel(
Widget dragcontext);

it's giving "C function, very demure, very mindful" ✨


πŸ’– DESCRIPTION πŸ’–

so like, XmDragCancel terminates a drag operation and cancels any pending actions of the specified DragContext. that's it, that's the tea. πŸ«–

but bestie, listen up: this routine can only be called by the initiator client. that's a hard rule, no exceptions, don't try it unless you're the initiator or you'll be giving major error energy. πŸš«πŸ’€

  • dragcontext β€” Specifies the ID of the DragContext widget associated with the drag and drop transaction to be terminated. so you pass in the ID of the DragContext widget that's tied to the drag and drop transaction you wanna cancel. that's the one. 🎯

wanna know everything about DragContext and all its associated resources? go read XmDragContext(3), it's giving full lore and you'll be obsessed. πŸ“šβœ¨


if you're in your research era, these two are the besties of this function, fr fr. check them out. πŸ’–


and that's the whole page, bestie β€” XmDragCancel(library call) is the footer vibe, no version or date because this page keeps it mysterious. bye, love you, slay! πŸ«ΆπŸ’…βœ¨