Tornado API Reference : GUI Tcl Library (UNIX)
listbox - Tcl-driven Motif list-box manager
listBoxAddItems - add items to a listbox
listBoxUpdateItems - supply a new list for a listbox
listBoxDeleteAll - delete all elements in a list box
listBoxSelect - select an item in a list box
This library contains all the Tcl procedures for motif listbox related calls.
listBoxAddItems - add items to a listbox
UNIX GUI
listBoxAddItems name list
This function adds the items in list to the named listbox at the end. Listboxes are created by applications and are usually static lists in the application's frame. List boxes of this sort cannot be created by Tcl commands; the listBox commands merely provide access to lists maintained by Tornado applications. To create lists inside dialogs, use dialogCreate.
listbox, listBoxUpdateItems, listBoxDeleteAll, listBoxSelect, dialogCreate
listBoxUpdateItems - supply a new list for a listbox
UNIX GUI
listBoxUpdateItems name list
This function replaces items in listbox name with those in the given list. If an element was selected in the old list, it remains so if the new list contains that element. Listboxes are created by applications and are usually static lists in the application's frame. List boxes of this sort cannot be created by Tcl commands; the listBox commands merely provide access to lists maintained by Tornado applications. To create lists inside dialogs, use dialogCreate.
listbox, listBoxAddItems, listBoxDeleteAll, listBoxSelect, dialogCreate
listBoxDeleteAll - delete all elements in a list box
UNIX GUI
listBoxDeleteAll name
This function deletes all the elements in the specified listbox, leaving it empty.
listbox, listBoxAddItems, listBoxSelect
listBoxSelect - select an item in a list box
UNIX GUI
listBoxSelect name item
This function selects the item in the specified list box, if it exists.
listbox, listBoxAddItems