XMDROPSITEUPDATE(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

πŸ’… XmDropSiteUpdate β€” a Drag and Drop function that sets resource values for a drop site

okay bestie so we're in the <Xm/DragDrop.h> cinematic universe and this one is a library call, XmDropSiteUpdate(library call), lowercase-l library, we love her πŸ’–


✨ SYNOPSIS ✨

#include <Xm/DragDrop.h>
void XmDropSiteUpdate(
Widget widget,
ArgList arglist,
Cardinal argcount);

like. the whole thing is one void function. no return value. she does her job and dips πŸ¦‹


🌸 DESCRIPTION 🌸

so XmDropSiteUpdate modifies drop site resources that are chillin' on the widget you point at. that's it, that's the whole vibe. you hand her an arglist and she updates exactly the drop site resources named in it β€” nothing more, nothing less. main character energy, but with boundaries πŸ’…

and here's who's who in the cast:

  • widget β€” the ID of the widget that's registered as a drop site πŸ‘‘ (yes she has to already be registered, that's her whole thing)
  • arglist β€” the argument list πŸ“‹
  • argcount β€” the number of attribute/value pairs sitting inside the argument list (arglist) πŸ”’

and if you want the complete definition of DropSite and all her associated resources (the full lore, the extended universe), go read XmDropSite(3). no cap, it's required reading 🫢


the whole friend group, they roll deep:


ngl if you're mid-update you probably want XmDropSiteStartUpdate(3) and XmDropSiteEndUpdate(3) around this β€” but that's just what the related list is implying, not me making stuff up 😭 the manpage literally lists them together, iykyk

and that's the whole page, periodt πŸ’–βœ¨ the original signs off as XmDropSiteUpdate(library call) down at the bottom too, and yeah β€” the header and footer are literally the same string, she's consistent, we respect it. no date, no version, just vibes and a library call designation. slay πŸŒˆβ­πŸ“