1XmFontListInitFontContext(library call)XmFontListInitFontContext(library call)
2
3
4
6 XmFontListInitFontContext — A font list function that allows applica‐
7 tions to access the entries in a font list
8
10 #include <Xm/Xm.h>
11 Boolean XmFontListInitFontContext(
12 XmFontContext *context,
13 XmFontList fontlist);
14
16 XmFontListInitFontContext establishes a context to allow applications
17 to access the contents of a font list. This context is used when read‐
18 ing the font list entry tag, font, or font set associated with each
19 entry in the font list. A Boolean status is returned to indicate
20 whether or not the font list is valid.
21
22 If an application deallocates the font list passed to XmFontListInit‐
23 FontContext as the fontlist argument, the context established by this
24 function is rendered no longer valid.
25
26 context Specifies a pointer to the allocated context
27
28 fontlist Specifies the font list
29
31 Returns True if the context was allocated; otherwise, returns False.
32 If the function allocated a context, the application is responsible for
33 managing the allocated space. The application can recover the allocated
34 space by calling XmFontListFreeFontContext.
35
37 XmFontList(3), XmFontListFreeFontContext(3), and XmFontListNextEn‐
38 try(3).
39
40
41
42 XmFontListInitFontContext(library call)