XMFONTLISTENTRYCREATE(3)
β¨ XmFontListEntryCreate β¨
okay bestie, gather round, because we're doing the library call thing today β this is XmFontListEntryCreate from the Xm fam, and she's literally the girl who makes font list entries. no cap. π
π NAME π
XmFontListEntryCreate β a font list function that creates a font list entry. that's it, that's the job, and she eats every time. π₯
π¦ SYNOPSIS π¦
#include <Xm/Xm.h>
XmFontListEntry XmFontListEntryCreate(
char *tag,
XmFontType type,
XtPointer font);
look at her. three little args. so demure, so mindful. π
πΈ DESCRIPTION πΈ
XmFontListEntryCreate creates a font list entry that contains either a font or font set, and it's identified by a tag. like, she's handing you a lil labeled box and you're like "slay, ty." β¨
tagβ Specifies aNULLterminated string for the tag of the font list entry. The tag may be specified asXmFONTLIST_DEFAULT_TAG, which is used to identify the default font list element in a font list. (iykyk, that's the "main character" tag of the whole list. π)typeβ Specifies whether thefontargument is a font structure or a font set. Valid values areXmFONT_IS_FONTandXmFONT_IS_FONTSET. vibe check the type, bestie, don't just guess. πfontβ Specifies either anXFontSetreturned byXCreateFontSetor a pointer to anXFontStructreturned byXLoadQueryFont. π
β οΈ okay this part is IMPORTANT, fr fr, do not skip: The toolkit does not copy the X Font structure specified by thefontargument. Therefore, an application programmer must not freeXFontStructorXFontSetuntil all font lists and/or font entries that reference it have been freed. like, do not touch her until everybody's done with her, periodt. π
π RETURN π
Returns a font list entry. The function allocates space to hold the returned font list entry. The application is responsible for managing the allocated space. The application can recover the allocated space by calling XmFontListEntryFree. so she gives you a gift AND she gives you the receipt β iconic behavior, honestly. π«Ά
β RELATED β
the girlies she hangs out with, all (3)s:
XmFontList(3)XmFontListAppendEntry(3)XmFontListEntryFree(3)XmFontListEntryGetFont(3)XmFontListEntryGetTag(3)XmFontListEntryLoad(3)XmFontListRemoveEntry(3)
and that's the whole page, bestie!! π she lives under the XmFontListEntryCreate(library call) banner top and bottom β same name up top, same name at the sign-off, no date or version drama on this one, just the page title holding it down twice. 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