XmFontListEntryGetFont(3)

XmFontListEntryGetFont3

A font list function that retrieves font information from a font list entry

Usage

#include <Xm/Xm.h>
XtPointer XmFontListEntryGetFont(
XmFontListEntry entry,
XmFontType *type_return);

Overview

XmFontListEntryGetFont retrieves font information for a specified font list entry. If the font list entry contains a font, type_return returns XmFONT_IS_FONT and the function returns a pointer to an XFontStruct. If the font list entry contains a font set, type_return returns XmFONT_IS_FONTSET and the function returns the XFontSet.

entry

Specifies the font list entry.

type_return

Specifies a pointer to the type of the font element for the current entry. Valid values are XmFONT_IS_FONT and XmFONT_IS_FONTSET.

The returned XFontSet or XFontStruct is not a copy of the toolkit data and must not be freed.

Return

Returns an XFontSet or a pointer to an XFontStruct structure.

Releases

7 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8–13
  2. Arch

From openmotif 2.3.8-4 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.