XMTEXTGETSELECTION(3)

πŸ“¦
version 2.5.2 Β· 2 versions
, in alpine 3.24, arch rolling, centos-stream 9, epel 10, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0

✨ NAME ✨

bestie, welcome to the XmTextGetSelection(library call) page πŸ’– XmTextGetSelection β€” A Text function that retrieves the value of the primary selection. no cap, that's the whole name vibe.

πŸ¦‹ SYNOPSIS πŸ¦‹

#include <Xm/Text.h>
char * XmTextGetSelection(
Widget widget);

🌸 DESCRIPTION 🌸

okay so XmTextGetSelection retrieves the value of the primary selection. It returns a NULL pointer if no text is selected in the widget. The application is responsible for freeing the storage associated with the string by calling XtFree. periodt.

  • widget β€” Specifies the Text widget ID πŸ’…

For a complete definition of Text and its associated resources, see XmText(3).

πŸ’« RETURN πŸ’«

Returns a character pointer to the string that is associated with the primary selection. slay πŸ’–

XmText(3) and XmTextGetSelectionWcs(3).


okay that's the whole page, bestie! the footer was XmTextGetSelection(library call) β€” so the source/version/date tea is just that manual-call label, no extra dates. bye 🫢