XMREPTYPEGETNAMELIST(3)
π XmRepTypeGetNameList π
okay bestie, so this is a library call from the representation type manager fam β yes, the XmRepTypeGetNameList one, the icon, the moment. sit down, grab a strawberry drink π, and let's get into it.
β¨ NAME β¨
XmRepTypeGetNameList β a representation type manager function that generates a list of values for a representation type. like, it literally makes you a whole list. slay.
π SYNOPSIS π
#include <Xm/RepType.h>
String * XmRepTypeGetNameList(
XmRepTypeId rep_type_id,
Boolean use_uppercase_format);
πΈ DESCRIPTION πΈ
So here's the vibe: XmRepTypeGetNameList generates a NULL-terminated list of the value names associated with the specified representation type. every single value name in that list is itself a NULL-terminated string, because of course it is, we're being thorough π
β οΈ and now the important part, bestie, don't skip this: this routine allocates memory for the returned data. that memory is yours now. the application must free this memory usingXtFree. not free, not delete,XtFree. periodt. if you forget, that's a leak and the vibe check fails π
the args π«Ά
rep_type_idβ specifies the identification number of the representation type. like, which rep type are we even talking about, girl. that's this.use_uppercase_formatβ specifies aBooleanvalue that controls the format of the name list. if the value isTrue, each value name is in uppercase characters prefixed byXm; if it isFalse, the names are in lowercase characters. two looks, both iconic, your call.
π RETURN π
Returns a pointer to an array of the value names. that's it, that's the tea β¨
π RELATED π
go read those next, they're all in the same friend group π¦
and that's the whole page, bestie!! this was XmRepTypeGetNameList from the library call section of the manual β the same name you'll see printed at the bottom of the page, right where the source and date live, looking all official and lowkey serving main character energy π go free your memory with XtFree and have the day you deserve ππ
π¦ 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