Blob Blame History Raw
'\" t
...\" FontLstB.sgm /main/8 1996/09/08 20:43:21 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 "XmFontListAdd" "library call"
.SH "NAME"
\fBXmFontListAdd\fP \(em A font list function that creates a new font list
.iX "XmFontListAdd"
.iX "font list functions" "XmFontListAdd"
.SH "SYNOPSIS"
.PP
.nf
#include <Xm/Xm\&.h>
\fBXmFontList \fBXmFontListAdd\fP\fR(
\fBXmFontList \fBoldlist\fR\fR,
\fBXFontStruct \fB*font\fR\fR,
\fBXmStringCharSet \fBcharset\fR\fR);
.fi
.SH "DESCRIPTION"
.PP
\fBXmFontListAdd\fP creates a new font list consisting of the contents of
\fIoldlist\fP and the new font list element being added\&. This
function deallocates \fIoldlist\fP after extracting the required
information; therefore, do not reference \fIoldlist\fP thereafter\&.
.PP
\fBNOTE:\fP This function is obsolete and exists for compatibility
with previous releases\&. It has been replaced by \fBXmFontListAppendEntry\fP\&.
.IP "\fIoldlist\fP" 10
Specifies a pointer to the font list to which an entry will be added\&.
.IP "\fIfont\fP" 10
Specifies a pointer to a font structure for which the new font list is
generated\&. This is the structure returned by the XLib \fBXLoadQueryFont\fP
function\&.
.IP "\fIcharset\fP" 10
Specifies the character set identifier for the font\&.
This can be \fBXmSTRING_DEFAULT_CHARSET\fP, but this value does not
comply with the AES, and it may be removed in future versions of Motif\&.
If the value is \fBXmSTRING_DEFAULT_CHARSET\fP, the routine derives the
character set from the current language environment\&.
.SH "RETURN"
.PP
Returns NULL if \fIoldlist\fP is NULL; returns \fIoldlist\fP if
\fIfont\fP or \fIcharset\fP is NULL; otherwise, returns a new font list\&.
.SH "RELATED"
.PP
\fBXmFontList\fP(3) and
\fBXmFontListAppendEntry\fP(3)\&.
...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:23