XMSTRINGCREATELOCALIZED(3)
π NAME π
XmStringCreateLocalized β a compound string function that creates a compound string in the current locale. yes bestie, it's giving "make me a string that speaks the local language" β¨
π SYNOPSIS π
#include <Xm/Xm.h>
XmString XmStringCreateLocalized(
char *text);
π¦ DESCRIPTION π¦
okay so listen. XmStringCreateLocalized creates a compound string containing the text you hand it, all dressed up in the current language environment. that's the whole vibe. π
and here's the tea: you'd get a literally identical compound string if you called XmStringCreate and passed XmFONTLIST_DEFAULT_TAG in explicitly as the tag component. same result, different journey, iykyk. π
this function allocates space to hold the compound string it returns β so yeah, it's making room for you, no cap. but bestie, the application is responsible for managing that allocated space. it's yours now. you have to take care of it.
and when you're done with it? you can recover the allocated space by calling XmStringFree. free it, don't leave it hanging, that's just rude fr fr. π
- text β specifies a
NULL-terminated string of text encoded in the current language environment, to be used as the text component of the compound string. that's the glow-up material right there. πΈ
π RETURN π
returns a new compound string. brand new, fresh out the box, main character energy. π
β RELATED β
this has been XmStringCreateLocalized(library call) from the library call pages, in all its undated, unversioned glory β she's timeless, she's iconic, she's periodt ππ«Ά
π¦ 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