![]() |
![]()
| ![]() |
![]()
NAMEXmFontListEntryCreate — A font list function that creates a font list entry SYNOPSIS#include <Xm/Xm.h> XmFontListEntry XmFontListEntryCreate( char *tag, XmFontType type, XtPointer font); DESCRIPTIONXmFontListEntryCreate creates a font list entry that contains either a font or font set and is identified by a tag.
The toolkit does not copy the X Font structure specified by the font argument. Therefore, an application programmer must not free XFontStruct or XFontSet until all font lists and/or font entries that reference it have been freed. RETURNReturns 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. RELATEDXmFontList(3), XmFontListAppendEntry(3), XmFontListEntryFree(3), XmFontListEntryGetFont(3), XmFontListEntryGetTag(3), XmFontListEntryLoad(3), and XmFontListRemoveEntry(3).
|