XMSTRINGUNPARSE(3)
β¨ NAME β¨
okay so bestie, this is XmStringUnparse(3) β the XmStringUnparse(library call) page, and its whole thing is: A compound string function that unparses text. no cap. π
β¨ SYNOPSIS β¨
#include <Xm/Xm.h>
XtPointer XmStringUnparse(
XmString string,
XmStringTag tag,
XmTextType tag_type,
XmTextType output_type,
XmParseTable parse_table,
Cardinal parse_count,
XmParseModel parse_model);
β¨ DESCRIPTION β¨
XmStringUnparse is literally out here looking in the input string for text segments that are tagged with locale or charset tags that match tag. The tag_type parameter specifies whether the tag is a locale or charset type. If tag has a value of NULL, all the segments are matched. When a text segment is found with a matching tag, it is added to the end of a resulting string. The characters in the resulting string are of type output_type. slay. β¨
XmStringUnparse also checks string for components that match components in parse_table, and also to see if the component matches the condition specified by parse_model. If the string component matches in both checks, then the associated character is added to the end of the resulting string. the way that it does two checks? iconic. π
the args, bestie π«Ά
stringβ Specifies theXmStringto be converted.tagβ Specifies the tag to be used in matching with text segments. Only text segments that matchtagwill be included in the resulting string. Iftaghas a value ofNULL, all segments are considered as matches, andtag_typeis ignored.tag_typeβ Specifies the type of tag to be searched for, includingXmMULTIBYTE_TEXT,XmWIDECHAR_TEXT, andXmCHARSET_TEXT.output_typeβ Specifies the type of text to be returned in the string, includingXmMULTIBYTE_TEXT,XmWIDECHAR_TEXT, andXmCHARSET_TEXT.parse_tableβ Specifies the parse table to be used in scanning for compound string components to be converted to other characters.parse_countβ Specifies how many entries are inparse_table.parse_modelβ Specifies which non-text components to be considered in matching inparse_table. These include:XmOUTPUT_ALLβ Puts out all matching components.XmOUTPUT_BETWEENβ Puts out only those matching components that are between two matching text components.XmOUTPUT_BEGINNINGβ Puts out only those matching components that are at the beginning of a matching text component.XmOUTPUT_ENDβ Puts out only those matching components that are at the end of a matching text component.XmOUTPUT_BOTHβ Puts out only those matching components that are at the beginning or end of a matching text component.
β¨ RETURN β¨
Returns a newly allocated string containing characters of a type determined by output_type. The application is responsible for managing this allocated space. The application can recover this allocated space by calling XtFree. π«Ά
bestie, this is your allocation now. the application is responsible for managing it, and XtFree is the recovery move. don't ghost it. π
β¨ RELATED β¨
and that's the XmStringUnparse(library call) footer vibe, bestie β no extra date/version drama on this one, just the library call tag. 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