Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmFontLiM(Xm) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


 XmFontListEntryGetFont(Xm)     6 January 1993     XmFontListEntryGetFont(Xm)


 Name

    XmFontListEntryGetFont - a font list function  that retrieves font infor-
    mation from a font list entry

 Syntax


    #include <Xm/Xm.h>

    XtPointer XmFontListEntryGetFont (entry, type_return)
    XmFontListEntry entry;
    XmFontType *type_return;


 Description

    XmFontListEntryGetFont retrieves font information for a specified font
    list entry. If the font list entry contains a font, typereturn returns
    XmFONTISFONT and the function returns a pointer to an XFontStruct. If
    the font list entry contains a font set, typereturn returns
    XmFONTISFONTSET and the function returns the XFontSet.

    entry   Specifies the font list entry.

    typereturn
            Specifies a pointer to the type of the font element for the
            current entry. Valid values are XmFONTISFONT and XmFONTIS-
            FONTSET.

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

 Return value

    Returns an XFontSet or a pointer to an XFontStruct structure.

 See also

    XmFontList(Xm), XmFontListEntryCreate(Xm), XmFontListEntryGetTag(Xm)
    XmFontListEntryLoad(Xm) and XmFontListNextEntry(Xm).


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026