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

🌸 XmContainerPaste 🌸

okay so bestie, welcome to the library call for XmContainerPaste β€” it's a Container widget function that pulls items in from the clipboard. iconic behavior, honestly. 🫢

✨ NAME ✨

XmContainerPaste β€” Container widget function to insert items from the clipboard. πŸ’–

πŸŽ€ SYNOPSIS πŸŽ€

#include <Xm/Container.h>
Boolean XmContainerPaste(
Widget container);

πŸ’… DESCRIPTION πŸ’…

So like, XmContainerPaste is asking for a data transfer from the clipboard selection into the Container. No cap. This routine calls the widget's XmNdestinationCallback procedures with the selection member of the XmDestinationCallbackStruct set to CLIPBOARD, and the operation member set to XmCOPY. ✨

And here's the tea: the Container widget itself performs no transfers. The XmNdestinationCallback procedures are the ones responsible for inserting the clipboard selection and for taking any related actions. It's giving delegation, and honestly? Slay. πŸ‘‘

  • container β€” Specifies the Container widget ID. πŸŽ€

For a complete definition of Container and its associated resources, see XmContainer(3). iykyk. πŸ“š

πŸ”₯ RETURN πŸ”₯

If no data transfer takes place, the function returns False. Otherwise, it returns True. That's the vibe check. βœ…

XmContainer(3). Go read it, bestie. πŸ’œ


XmContainerPaste(library call) β€” that's the source/version right there. No date in the footer, but it's timeless, periodt. πŸ’…βœ¨