XMTEXTGETSELECTIONWCS(3)
π XmTextGetSelectionWcs π
okay bestie, welcome to the XmTextGetSelectionWcs page from the library call section of the manual β yes that's the whole manual name, we're fancy here π
β¨ NAME β¨
XmTextGetSelectionWcs β a Text function that retrieves the value of a wide character encoded primary selection π¦
πΈ SYNOPSIS πΈ
#include <Xm/Text.h>
wchar_t * XmTextGetSelectionWcs(
Widget widget);
π DESCRIPTION π
okay so XmTextGetSelectionWcs grabs the value of the primary selection, but likeβ¦ the version that's encoded in a wide character format. she's giving main character energy for real π«
if literally nothing is selected in the widget, she hands you back a NULL pointer. no selection, no string, that's the vibe check and it failed π
β οΈ heads up bestie: the application is responsible for freeing the storage associated with the wide character buffer by calling XtFree. that's on you, not on her. do not ghost that memory, it will come back to haunt you fr fr π
widgetβ specifies the Text widget ID π
for a complete definition of Text and its associated resources, go look at XmText(3) β that's where the full lore lives π
π«Ά RETURN π«Ά
she returns the wide character string that is associated with the primary selection in the Text widget. that's it, that's the tea β¨
π RELATED π
and that's the whole page bestie, no notes π§
XmTextGetSelectionWcs(library call) β yeah, that footer is literally just the title again, iconic of her honestly π so that's the source/version-and-date situation: it's the library call manual, and the date isβ¦ the same line, because this page keeps it simple. periodt. ππΈπ
π¦ 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