*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> XmComboBoxAddItem (3)              


 XmComboBoxAddItem(library call)             XmComboBoxAddItem(library call)

 NAME    [Toc]    [Back]
      XmComboBoxAddItem - add an item to the ComboBox widget

 SYNOPSIS    [Toc]    [Back]
      #include <Xm/ComboBox.h>
      void XmComboBoxAddItem(
      Widget w,
      XmString item,
      int pos,
      Boolean unique);

 DESCRIPTION    [Toc]    [Back]
      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.

 RETURN VALUE    [Toc]    [Back]
      The XmComboBoxAddItem function returns no value.

 APPLICATION USAGE    [Toc]    [Back]
      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.

 SEE ALSO    [Toc]    [Back]
      XmComboBoxDeletePos(3), XmComboBoxSetItem(3), XmComboBoxSelectItem(3).

                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
 Similar pages
Name OS Title
DtComboBox HP-UX the ComboBox widget class
XmComboBox HP-UX The ComboBox widget class
DtCreateComboBox HP-UX the ComboBox widget creation function
XmCreateDropDownComboBox HP-UX The Drop-down ComboBox widget creation function
XmCreateComboBox HP-UX The default ComboBox widget creation function
XmCreateDropDownList HP-UX The Drop-down list ComboBox widget creation function
XmContainerGetItemChildren HP-UX Container widget function to find all children of an item
XmComboBoxUpdate HP-UX A ComboBox function that resynchronizes data
XmListSetBottomItem HP-UX A List function that makes an existing item the last visible item in the list
XmListSetItem HP-UX A List function that makes an existing item the first visible item in the list
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service