XMTEXTFIELDCOPY(3)
π XmTextFieldCopy π
okay so bestie, welcome to the XmTextFieldCopy page β it's a library call from the Motif fam (that's manual section 3 for the girlies keeping track) and it's lowkey one of the most useful little text goblins you'll ever meet β¨
πΈ NAME πΈ
XmTextFieldCopy β a TextField function that copies the primary selection to the clipboard. yes literally that's the whole vibe. primary selection in, clipboard out, no cap π
π SYNOPSIS π
#include <Xm/TextF.h>
Boolean XmTextFieldCopy(
Widget widget,
Time time);
β¨ DESCRIPTION β¨
So here's the tea π« β XmTextFieldCopy copies the primary selected text to the clipboard. That's it. That's the function. She's simple, she's iconic, she serves.
The way she does it though? obsessed. This routine calls the XmNconvertCallback procedures, possibly multiple times, with the selection member of the XmConvertCallbackStruct set to CLIPBOARD and with the parm member set to XmCOPY. so like, your callbacks are getting invited to the party, and they might get invited more than once, so be ready to show up π
widgetβ Specifies the TextField widget ID. this is your girl, the actual TextField you're working with π¦timeβ Specifies the time at which the selection value is to be modified. This should be the time of the event that triggered this request. basically: when did the thing that made you do this actually happen, bestie β°
for a complete definition of TextField and its associated resources, see XmTextField(3) β go read that one too, it's giving reference material and it's important iykyk π
π₯ RETURN π₯
She returns False in a whole bunch of sad little situations, and honestly? valid of her:
- 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
- or if no data is placed on the clipboard π
Otherwise β and only otherwise β she returns True. periodt π
π RELATED π
and that's the whole page bestie!! this was pulled straight from the XmTextFieldCopy(library call) manual β the footer line on the original is just the same XmTextFieldCopy(library call) title again, so no date drama to report, she's timeless fr fr πβ¨ go copy something to your clipboard and slay ππ¦πΈ
π¦ 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