logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

XmComboBoxAddItem — add an item to the ComboBox widget

Application Usage

       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.

Description

       The XmComboBoxAddItem function adds the given item to the XmComboBox at the given position.

       The w argument specifies the XmComboBox 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.

Name

XmComboBoxAddItem — add an item to the ComboBox widget

Return Value

       The XmComboBoxAddItem function returns no value.

See Also

XmComboBoxDeletePos(3), XmComboBoxSetItem(3), XmComboBoxSelectItem(3).

                                                                                            XmComboBoxAddItem(3)

Synopsis

       #include <Xm/ComboBox.h>
       voidXmComboBoxAddItem(
       Widgetw,
       XmStringitem,
       intpos,
       Booleanunique);

See Also