1XmFontListEntryCreate(library call)        XmFontListEntryCreate(library call)
2
3
4

NAME

6       XmFontListEntryCreate  —  A font list function that creates a font list
7       entry
8

SYNOPSIS

10       #include <Xm/Xm.h>
11       XmFontListEntry XmFontListEntryCreate(
12       char *tag,
13       XmFontType type,
14       XtPointer font);
15

DESCRIPTION

17       XmFontListEntryCreate creates a font list entry that contains either  a
18       font or font set and is identified by a tag.
19
20       tag       Specifies  a  NULL  terminated string for the tag of the font
21                 list    entry.    The    tag    may    be    specified     as
22                 XmFONTLIST_DEFAULT_TAG, which is used to identify the default
23                 font list element in a font list.
24
25       type      Specifies whether the font argument is a font structure or  a
26                 font    set.    Valid    values    are   XmFONT_IS_FONT   and
27                 XmFONT_IS_FONTSET.
28
29       font      Specifies either an XFontSet returned by XCreateFontSet or  a
30                 pointer to an XFontStruct returned by XLoadQueryFont.
31
32       The  toolkit  does  not copy the X Font structure specified by the font
33       argument.  Therefore,  an  application   programmer   must   not   free
34       XFontStruct  or  XFontSet until all font lists and/or font entries that
35       reference it have been freed.
36

RETURN

38       Returns a font list entry.  The function allocates space  to  hold  the
39       returned  font  list entry. The application is responsible for managing
40       the allocated space. The application can recover the allocated space by
41       calling XmFontListEntryFree.
42
44       XmFontList(3),     XmFontListAppendEntry(3),    XmFontListEntryFree(3),
45       XmFontListEntryGetFont(3),  XmFontListEntryGetTag(3),  XmFontListEntry‐
46       Load(3), and XmFontListRemoveEntry(3).
47
48
49
50                                           XmFontListEntryCreate(library call)
Impressum