XMSTRINGGETNEXTTRIPLE(3)
π XmStringGetNextTriple π
okay bestie, welcome to the XmStringGetNextTriple page, straight out of the library call manual. this is the one where we peek at compound strings one lil piece at a time. it's giving tour guide energy. let's go π¦
β¨ NAME β¨
XmStringGetNextTriple β an XmString function that hands you the type, the length, and the value of the next component chillin' inside a compound string. no cap, that's the whole job description π
πΈ SYNOPSIS πΈ
#include <Xm/Xm.h>
XmStringComponentType XmStringGetNextTriple(
XmStringContext context,
unsigned int *length,
XtPointer *value);
π DESCRIPTION π
XmStringGetNextTriple returns the type, length, and value of the next component in the compound string that context is pointing at. the way that it does this one component at a time?? it's literally a conveyor belt of string components and you're just standing there collecting them π
contextβ the string context structure, aka the one that got allocated by theXmStringInitContextfunction. you did not make this yourself, bestie, it was handed to you.lengthβ a pointer to the length of the value of the returned component. so like, how big is the thing you just got.valueβ a pointer to the value of the returned component. and here's the important part: if the returned value is notNULL, the function allocates space to hold that returned value. so when your application doesn't need the returned compound string anymore, it should callXtFree. yes ma'am, you free it. that's the deal. don't ghost your memory management π
π RETURN π
Returns the type of the component found. wanna know all the component types that could come back at you? go check the XmStringComponentType(3) reference page, it's got the whole list. periodt.
π RELATED π
XmDirection(3)XmString(3)XmStringComponentType(3)XmStringGetNextComponent(3)XmStringPeekNextTriple(3)
and that's the page, bestie!! π«Ά this lil masterpiece lives under the XmStringGetNextTriple(library call) banner, footer and all β the source/version line is literally just XmStringGetNextTriple(library call) again, iconic of it. go forth and free your values with XtFree. mwah πβ¨
π¦ 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