XMTEXTFIELDPASTELINK(3)
β¨ XmTextFieldPasteLink β¨
okay bestie, so this one is XmTextFieldPasteLink, and she lives in the library calls section of the manual β section 3, the library call girlies π
. She's a TextField function, and her whole thing is inserting a link to the clipboard selection. Iconic, honestly. Let's get into it π«Ά
πΈ NAME πΈ
XmTextFieldPasteLink β a TextField function that inserts a link to the clipboard selection. no cap, that's literally her job description π
π¦ SYNOPSIS π¦
#include <Xm/TextF.h>
Boolean XmTextFieldPasteLink(
Widget widget);
π DESCRIPTION π
So here's the tea β β XmTextFieldPasteLink inserts a link to the clipboard selection at the insertion cursor. Right there. Wherever your lil cursor is vibing, that's where the link goes.
But listen, and this is the important part π β this routine does not do the transfer itself. She's not the main character of the actual data movement, she's the connector. What she does is call the widget's XmNdestinationCallback procedures, with:
- the
selectionmember of theXmDestinationCallbackStructset toCLIPBOARD, and - the
operationmember set toXmLINK.
That's it. That's the whole ask. The TextField widget itself performs no transfers β none, zero, nada π. It's the XmNdestinationCallback procedures that are responsible for actually inserting the link to the clipboard selection, and for taking any related actions that come along with it. So if you're expecting the widget to do it for you... bestie, she's just the messenger π.
widgetβ specifies the TextField widget ID. That's the one you're handing over.
For a complete definition of TextField and its associated resources, go read XmTextField(3). she has the full lore π§
β RETURN β
- Returns
Falseif no transfers take place. (sad girl hours π) - Otherwise, it returns
True. (slay π₯)
π RELATED π
and that's the whole page, fr fr π this was XmTextFieldPasteLink from the library call section of the manual β same title at the top, same title at the bottom, that's just how manpages do. mwah, go forth and link your clipboard ππ
π¦ 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