DtComboBoxAddItem(library call) DtComboBoxAddItem(library call)
NAME [Toc] [Back]
DtComboBoxAddItem - add an item to the ComboBox widget
SYNOPSIS [Toc] [Back]
#include <Dt/ComboBox.h>
void DtComboBoxAddItem(
Widget w,
XmString item,
int pos,
Boolean unique);
DESCRIPTION [Toc] [Back]
Note:
This function has been superseded by the equivalent Motif
function, XmComboBoxAddItem. Please refer to the Motif
Programmer's Reference for more information.
The DtComboBoxAddItem function adds the given item to the DtComboBox
at the given position.
The w argument specifies the DtComboBox widget ID.
The item argument specifies the XmString for the new item.
The pos argument specifies the position of the new item.
The unique argument specifies if this item should duplicate an
identical item or not.
RETURN VALUE [Toc] [Back]
The DtComboBoxAddItem function returns no value.
APPLICATION USAGE [Toc] [Back]
The functions DtComboBoxAddItem and DtComboBoxDeletePos 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.
SEE ALSO [Toc] [Back]
DtComboBox(3), DtComboBoxDeletePos(3), DtComboBoxSetItem(3),
DtComboBoxSelectItem(3).
- 1 - Formatted: January 24, 2005 [ Back ] |