XmListAddItem(3) | Library Functions Manual | XmListAddItem(3) |
XmListAddItem — A List function that adds an item to the list "XmListAddItem" "List functions" "XmListAddItem"
#include <Xm/List.h> void XmListAddItem( Widget widget, XmString item, int position);
XmListAddItem adds an item to the list at the given position. When the item is inserted into the list, it is compared with the current XmNselectedItems list. If the new item matches an item on the selected list, it appears selected.
For a complete definition of List and its associated resources, see XmList(3).