Blob Blame History Raw
'\" t
...\" ComboAdd.sgm /main/5 1996/08/30 14:15:48 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 "XmComboBoxAddItem" "library call"
.SH "NAME"
\fBXmComboBoxAddItem\fP \(em add an item to the ComboBox widget
.SH "SYNOPSIS"
.PP
.nf
#include <Xm/ComboBox\&.h>
\fBvoid \fBXmComboBoxAddItem\fP\fR(
\fBWidget \fBw\fR\fR,
\fBXmString \fBitem\fR\fR,
\fBint \fBpos\fR\fR,
\fBBoolean \fBunique\fR\fR);
.fi
.SH "DESCRIPTION"
.PP
The
\fBXmComboBoxAddItem\fP function adds the given item to the XmComboBox at the given position\&.
.PP
The
\fIw\fP argument specifies the XmComboBox widget ID\&.
.PP
The
\fIitem\fP argument specifies the
\fBXmString\fR for the new item\&.
.PP
The
\fIpos\fP argument specifies the position of the new item\&.
.PP
The
\fIunique\fP argument specifies if this item should duplicate an identical item or not\&.
.SH "RETURN VALUE"
.PP
The
\fBXmComboBoxAddItem\fP function returns no value\&.
.SH "APPLICATION USAGE"
.PP
The functions
\fBXmComboBoxAddItem\fP and
\fBXmComboBoxDeletePos\fP have different naming conventions (Item versus Pos)
because of the objects they are manipulating\&.
The Item is a string to be added,
the Pos is a numeric position number\&.
.SH "SEE ALSO"
.PP
\fBXmComboBoxDeletePos\fP(3), \fBXmComboBoxSetItem\fP(3), \fBXmComboBoxSelectItem\fP(3)\&.
...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:18