XMCONTAINERCOPY(3)
π NAME π
XmContainerCopy β the Container widget function that copies your primary selection straight to the clipboard, bestie. It's giving "select, copy, slay."
β¨ SYNOPSIS β¨
#include <Xm/Container.h>
Boolean XmContainerCopy(
Widget container,
Time timestamp);
π¦ DESCRIPTION π¦
okay so. XmContainerCopy takes the container items you've got primary-selected and copies them over to the clipboard. iconic behavior, honestly.
To pull that off, this routine calls your XmNconvertCallback procedures β and heads up, it might call them multiple times, so don't be weird about it π
. Each time, the selection member of the XmConvertCallbackStruct is set to CLIPBOARD, and the parm member is set to XmCOPY. That's the whole vibe.
containerβ Specifies the Container widget ID. yeah, the actual widget, give it the real one π«Άtimestampβ Specifies the server time at which to modify the selection value. server time, not your local clock, okay? π
Wanna know everything about Container and all its associated resources? Go read XmContainer(3). iykyk.
π RETURN π
This function returns False in these cases, and not in a cute way:
- if the primary selection is
NULLπ - if the widget does not own the primary selection
- if the function is unable to gain ownership of the clipboard selection
Otherwise? It returns True. and that's the win, periodt π
π RELATED π
XmContainer(3)πΈ
and that's the whole page, bestie!! this one's a library call straight out of the XmContainerCopy manual β no cap, that's literally the header and footer of this thing. go forth and copy your selections, you absolute main character πβ¨ππ¦
π¦ 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