Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xmfontlistentrygetfont(3x) [osf1 man page]

XmFontListEntryGetFont(3X)												XmFontListEntryGetFont(3X)

NAME
XmFontListEntryGetFont - A font list function that retrieves font information from a font list entry SYNOPSIS
#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, 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. Specifies the font list entry. 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 VALUE
Returns an XFontSet or a pointer to an XFontStruct structure. SEE ALSO
XmFontList(3X), XmFontListEntryCreate(3X), XmFontListEntryGetTag(3X) XmFontListEntryLoad(3X), XmFontListNextEntry(3X) XmFontListEntryGetFont(3X)

Check Out this Related Man Page

XmFontListEntryCreate(library call)									       XmFontListEntryCreate(library call)

NAME
XmFontListEntryCreate -- A font list function that creates a font list entry SYNOPSIS
#include <Xm/Xm.h> XmFontListEntry XmFontListEntryCreate( char *tag, XmFontType type, XtPointer font); DESCRIPTION
XmFontListEntryCreate creates a font list entry that contains either a font or font set and is identified by a tag. tag Specifies a NULL terminated string for the tag of the font list entry. The tag may be specified as XmFONTLIST_DEFAULT_TAG, which is used to identify the default font list element in a font list. type Specifies whether the font argument is a font structure or a font set. Valid values are XmFONT_IS_FONT and XmFONT_IS_FONTSET. font Specifies either an XFontSet returned by XCreateFontSet or a pointer to an XFontStruct returned by XLoadQueryFont. 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. 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. RELATED
XmFontList(3), XmFontListAppendEntry(3), XmFontListEntryFree(3), XmFontListEntryGetFont(3), XmFontListEntryGetTag(3), XmFontListEntry- Load(3), and XmFontListRemoveEntry(3). XmFontListEntryCreate(library call)
Man Page

We Also Found This Discussion For You

1. What is on Your Mind?

Throw my Toys out of the Pram!

Hi Folks, Today hasn't been the best one of my career in IT. I've been a contractor for a major utility company for a number of years, on a number of seperate IT contracts mostly Unix. The company had 10 different flavours of unix and multiple different varsions of most of them. At the... (3 Replies)
Discussion started by: gull04
3 Replies