XMFONTLISTENTRYGETFONT(3)
π XmFontListEntryGetFont π
okay bestie, welcome to the XmFontListEntryGetFont page from the library call manual β a font list function that retrieves font information from a font list entry. yes it's a whole vibe, and yes we're getting into it π
β¨ SYNOPSIS β¨
#include <Xm/Xm.h>
XtPointer XmFontListEntryGetFont(
XmFontListEntry entry,
XmFontType *type_return);
like, that's the whole signature, no notes π«Ά
πΈ DESCRIPTION πΈ
so XmFontListEntryGetFont goes and retrieves font information for a specified font list entry. that's literally its whole job and it ate π
here's the tea though, it depends on what your entry is holding:
- if the font list entry contains a font, then
type_returnreturnsXmFONT_IS_FONT, and the function returns a pointer to anXFontStruct. - if the font list entry contains a font set, then
type_returnreturnsXmFONT_IS_FONTSET, and the function returns theXFontSet.
π Arguments
entryβ specifies the font list entry. that's the one you're asking about, bestie.type_returnβ specifies a pointer to the type of the font element for the current entry. valid values areXmFONT_IS_FONTandXmFONT_IS_FONTSET. it's giving "tell me what you are" energy β¨
β οΈ okay important, do NOT skip this: the returnedXFontSetorXFontStructis not a copy of the toolkit data, and it must not be freed. it is not yours, bestie, put it down π noXtFree, nofree, nothing. hands off. periodt.
π¦ RETURN π¦
returns an XFontSet or a pointer to an XFontStruct structure. that's it, that's the whole return value π
π₯ RELATED π₯
XmFontList(3)XmFontListEntryCreate(3)XmFontListEntryGetTag(3)XmFontListEntryLoad(3)XmFontListNextEntry(3)
and that's the page!! XmFontListEntryGetFont(library call) β that's the manual name and the footer source right there, and ngl there's no date stamp on this one so I can't give you one π«Ά go read the related pages, ily, bye πβ¨π
π¦ 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