'\" t .\" FontLstT.sgm /main/8 1996/09/08 20:44:24 rws $ .de P! .fl \!!1 setgray .fl \\&.\" .fl \!!0 setgray .fl \" force out current output buffer \!!save /psv exch def currentpoint translate 0 0 moveto \!!/showpage{}def .fl \" prolog .sy sed -e 's/^/!/' \\$1\" bring in postscript file \!!psv restore . .de pF .ie \\*(f1 .ds f1 \\n(.f .el .ie \\*(f2 .ds f2 \\n(.f .el .ie \\*(f3 .ds f3 \\n(.f .el .ie \\*(f4 .ds f4 \\n(.f .el .tm ? font overflow .ft \\$1 .. .de fP .ie !\\*(f4 \{\ . ft \\*(f4 . ds f4\" ' br \} .el .ie !\\*(f3 \{\ . ft \\*(f3 . ds f3\" ' br \} .el .ie !\\*(f2 \{\ . ft \\*(f2 . ds f2\" ' br \} .el .ie !\\*(f1 \{\ . ft \\*(f1 . ds f1\" ' br \} .el .tm ? font underflow .. .ds f1\" .ds f2\" .ds f3\" .ds f4\" .ta 8n 16n 24n 32n 40n 48n 56n 64n 72n .TH "XmFontListGetNextFont" 3 .SH "NAME" \fBXmFontListGetNextFont\fP \(em A font list function that allows applications to access the fonts and character sets in a font list "XmFontListGetNextFont" "font list functions" "XmFontListGetNextFont" .SH "SYNOPSIS" .PP .nf #include \fBBoolean \fBXmFontListGetNextFont\fP\fR( \fBXmFontContext \fBcontext\fR\fR, \fBXmStringCharSet *\fBcharset\fR\fR, \fBXFontStruct **\fBfont\fR\fR); .fi .SH "DESCRIPTION" .PP \fBXmFontListGetNextFont\fP accesses the character set and font for the next entry of the font list\&. The application first uses the \fBXmFontListInitFontContext\fP routine to create a font list context\&. The application then calls \fBXmFontListGetNextFont\fP repeatedly with the same context\&. Each succeeding call accesses the next element of the font list\&. When finished, the application calls \fBXmFontListFreeFontContext\fP to free the allocated font list context\&. .PP This routine allocates memory for the character set string that must be freed by the application\&. The function allocates memory for \fIcharset\fP\&. The application is responsible for managing the allocated memory\&. The application can recover the allocated memory by calling \fBXtFree\fP\&. .PP This function is obsolete and exists for compatibility with previous releases\&. It is replaced by \fBXmFontListNextEntry\fP\&. If \fBXmFontListGetNextFont\fP is passed a context that contains a font set entry, it will return the first font of the font set\&. The next call to the function will move to the next entry in the font list\&. .IP "\fIcontext\fP" 10 Specifies the font list context .IP "\fIcharset\fP" 10 Specifies a pointer to a character set string; the routine returns the character set for the current font list element .IP "\fIfont\fP" 10 Specifies a pointer to a pointer to a font structure; the routine returns the font for the current font list element .SH "RETURN" .PP Returns True if the returned values are valid; otherwise, returns False\&. .SH "RELATED" .PP \fBXmFontList\fP(3) and \fBXmFontListNextEntry\fP(3)\&. .\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:23