XMDATAFIELDPASTE(3)
π NAME π
XmDataFieldPaste β a DataField function that inserts the clipboard selection, bestie. That's the whole vibe.
β¨ SYNOPSIS β¨
#include <Xm/DataF.h>
Boolean XmDataFieldPaste(
Widget widget);
π«Ά DESCRIPTION π«Ά
Okay so here's the tea, bestie: XmDataFieldPaste takes the clipboard selection and drops it right at the insertion cursor of the destination widget. That's it, that's the job. π
But wait, there's lore. If XmNpendingDelete is True and the insertion cursor is sitting inside the current selection? Then the clipboard selection replaces the selected text. Iconic behavior, honestly.
This routine calls the widget's XmNvalueChangedCallback and verification callbacks β and the verification ones are either XmNmodifyVerifyCallback or XmNmodifyVerifyCallbackWcs, or both, no cap. And if both verification callback lists are registered? The procedures of the XmNmodifyVerifyCallback list get executed first, and the resulting data gets passed along to the XmNmodifyVerifyCallbackWcs callbacks. Order matters, periodt. π
This routine also calls the widget's XmNdestinationCallback procedures, with the selection member of the XmDestinationCallbackStruct set to CLIPBOARD and the operation member set to XmCOPY. And if the XmNcursorPosition resource is greater than or is the same value as the position where the selection is to be inserted, then XmNmotionVerifyCallback gets called. πΈ
widgetβ Specifies the DataField widget ID. That's the one thing you gotta hand it, bestie. π
For the complete definition of DataField and all its associated resources, go read XmDataField(3). Iykyk. π¦
π₯ RETURN π₯
This function returns False if no transfers take place. Otherwise? It returns True. Simple as that, slay. β¨
π RELATED π
And that's the whole page, babes β straight outta the XmDataFieldPaste(library call) manual, no date on the tin, just pure library-call energy. Mwah. ππ
π
π¦ 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