DOKK / manpages / debian 11 / libmotif-dev / XmComboBoxDeletePos.3.en
XmComboBoxDeletePos(3) Library Functions Manual XmComboBoxDeletePos(3)

XmComboBoxDeletePos — Delete a XmComboBox item

#include <Xm/ComboBox.h>
void XmComboBoxDeletePos(
Widget w,
int pos);

The XmComboBoxDeletePos function deletes a specified item from a XmComboBox widget.

The w argument specifies the XmComboBox widget ID.

The pos argument specifies the position of the item to be deleted.

The XmComboBoxDeletePos function returns no value.

The functions XmComboBoxAddItem and XmComboBoxDeletePos 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.

XmComboBoxAddItem(3), XmComboBoxSetItem(3), XmComboBoxSelectItem(3).