XMTEXTREMOVE(3)
β¨ XmTextRemove β¨
okay bestie, gather round, because this is the little Text widget function that just deletes your primary selection. iconic behavior, honestly. it's from the <Xm/Text.h> library-call girlies, and yes, it is serving utility.
π NAME π
XmTextRemove β a Text function that deletes the primary selection. yes, that's literally her whole job and she ate.
π SYNOPSIS π
#include <Xm/Text.h>
Boolean XmTextRemove(
Widget widget);
π¦ DESCRIPTION π¦
so XmTextRemove deletes the primary selected text. periodt. if there is a selection, this routine also calls the widget's XmNvalueChangedCallback and verification callbacks β either XmNmodifyVerifyCallback or XmNmodifyVerifyCallbackWcs, or both. not me being thorough π
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. so it's giving "first one, then the other, data handoff, no cap." this function may also call the XmNmotionVerifyCallback callback. she's social like that.
widgetβ specifies the Text widget ID. that's the one, bestie.
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 the primary selection is NULL or if the widget does not own the primary selection. otherwise, it returns True. so like... no selection, no primary-ownership? False. she's not gonna pretend. simple as that.
π RELATED π
lowkey a tiny function, highkey important. don't sleep on her.
this has been your girl XmTextRemove(library call) β mwah, from the XmTextRemove(library call) manual, page footer and all, no date given but the vibe is timeless. π«Άβ¨
π¦ 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