XMTEXTPASTE(3)
β¨ XmTextPaste β¨
okay bestie, welcome to the XmTextPaste page from the library call manual π this is a Text function situation and it is lowkey iconic, let's get into it π
πΈ NAME πΈ
XmTextPaste β a Text function that inserts the clipboard selection π«Ά
β¨ SYNOPSIS β¨
#include <Xm/Text.h>
Boolean XmTextPaste(
Widget widget);
π DESCRIPTION π
okay so here's the tea: XmTextPaste inserts the clipboard selection at the insertion cursor of the destination widget. periodt. β¨
and if XmNpendingDelete is True and the insertion cursor is sitting inside the current selection? then the clipboard selection replaces the selected text. bye old text ππ
This routine calls the widget's XmNvalueChangedCallback and verification callbacks β either XmNmodifyVerifyCallback or XmNmodifyVerifyCallbackWcs, or both. fr fr. And if both verification callback lists are registered, the procedures of the XmNmodifyVerifyCallback list are executed first, and the resulting data is passed to the XmNmodifyVerifyCallbackWcs callbacks. order matters bestie, that's just how it is π
Also! If the XmNcursorPosition resource is greater than or is the same value as the position where the selection is to be inserted, the XmNmotionVerifyCallback is called. π¦
And this routine calls the widget's XmNdestinationCallback procedures with the selection member of the XmDestinationCallbackStruct set to CLIPBOARD and with the operation member set to XmCOPY. no cap π
widgetβ specifies the Text widget ID π
For a complete definition of Text and its associated resources, see XmText(3). go read it, i'll wait π
π RETURN π
This function returns False if no transfers take place. Otherwise, it returns True. simple as that bestie β¨
π RELATED π
lowkey a whole vibe, highkey just a paste function π
that's the whole page, bestie β XmTextPaste, hanging out in the library call manual, doing its little clipboard thing. π¦π
πΈ
π¦ 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