XMSTRINGPEEKNEXTCOMPONENT(3)
π XmStringPeekNextComponent π
okay bestie, so this one lives in the library call section of the manual, and it's a Motif compound string function β yes, we're in the Xm zone, come on in, the water's fine π«Ά
It's called XmStringPeekNextComponent, and the whole personality of this function is: it peeks π β it tells you what the next component is gonna be, without actually taking it.
β¨ NAME β¨
XmStringPeekNextComponent β a compound string function that returns the component type of the next component to be fetched π
πΈ SYNOPSIS πΈ
#include <Xm/Xm.h>
XmStringComponentType XmStringPeekNextComponent(
XmStringContext context);
π¦ DESCRIPTION π¦
okay so first thing, and I need you to hear me on this one: this function is obsolete. Not "old but iconic", not "vintage", just obsolete β it exists purely for compatibility with previous releases. It got replaced by XmStringPeekNextTriple. periodt. π
That said, if you're maintaining some legacy situation, here's the tea:
XmStringPeekNextComponent examines the next component that would be fetched by XmStringGetNextComponent, and it returns that component's type. So it's like, the little sneak preview before the actual reveal β it looks, but it doesn't advance anything, it doesn't fetch anything. Just vibes and information β¨
contextβ specifies the string context structure that was allocated by theXmStringInitContextfunction π
π RETURN π
Returns the type of component found. If you wanna know what all the possible component types even are, go check the XmStringComponentType(3) reference page β it's got the full list, it's giving encyclopedia π
π RELATED π
and that's the whole page bestie, no notes πβ¨
this was XmStringPeekNextComponent(library call) β coming to you straight from the library call section of the manual, no cap π«Άππ
π¦ where this page comes from
- 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