XMTEXTGETSOURCE(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

πŸ’– XmTextGetSource πŸ’– (library call)

okay so bestie, this is the manual page for XmTextGetSource, and it lives in the library call manual. It's a Text function that accesses the source of the widget. Let's get into it, fr fr. 🫢


🌸 NAME 🌸

XmTextGetSource β€” a Text function that accesses the source of the widget

✨ SYNOPSIS ✨

#include <Xm/Text.h>
XmTextSource XmTextGetSource(
Widget widget);

πŸ¦‹ DESCRIPTION πŸ¦‹

XmTextGetSource is the function that grabs the source of a Text widget. Here's the tea: Text widgets can share sources of text, so when you edit in one widget, that edit is reflected in another. This function accesses the source of one widget so you can then make it the source of another widget using the function XmTextSetSource(3).

Setting a new text source destroys the old text source if no other Text widgets are using that source. Wanna replace a text source but keep it around for later? Then create an unmanaged Text widget and set its source to the text source you want to keep. πŸ’…

  • widget β€” Specifies the Text widget ID

Wanna know the complete definition of Text and all its associated resources? Go see XmText(3).

πŸ’… RETURN πŸ’…

Returns an XmTextSource value that represents the source of the Text widget.

XmText(3).


Catch u later bestie β€” this was the XmTextGetSource(library call) footer, library call edition, date not specified in the original. Bye! πŸ«ΆπŸ’–βœ¨