1XmComboBoxAddItem(library call) XmComboBoxAddItem(library call)
2
3
4
6 XmComboBoxAddItem — add an item to the ComboBox widget
7
9 #include <Xm/ComboBox.h>
10 void XmComboBoxAddItem(
11 Widget w,
12 XmString item,
13 int pos,
14 Boolean unique);
15
17 The XmComboBoxAddItem function adds the given item to the XmComboBox at
18 the given position.
19
20 The w argument specifies the XmComboBox widget ID.
21
22 The item argument specifies the XmString for the new item.
23
24 The pos argument specifies the position of the new item.
25
26 The unique argument specifies if this item should duplicate an identi‐
27 cal item or not.
28
30 The XmComboBoxAddItem function returns no value.
31
33 The functions XmComboBoxAddItem and XmComboBoxDeletePos have different
34 naming conventions (Item versus Pos) because of the objects they are
35 manipulating. The Item is a string to be added, the Pos is a numeric
36 position number.
37
39 XmComboBoxDeletePos(3), XmComboBoxSetItem(3), XmComboBoxSelectItem(3).
40
41
42
43 XmComboBoxAddItem(library call)