Tornado API Reference : GUI Tcl Library (UNIX)

listbox

NAME

listbox - Tcl-driven Motif list-box manager

TCL PROCEDURES

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

DESCRIPTION

This library contains all the Tcl procedures for motif listbox related calls.

SEE ALSO

listbox


GUI Tcl Library (UNIX) : Tcl Procedures

listBoxAddItems

NAME

listBoxAddItems - add items to a listbox

LOCALE

UNIX GUI

SYNOPSIS

listBoxAddItems name list

DESCRIPTION

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.

SEE ALSO

listbox, listBoxUpdateItems, listBoxDeleteAll, listBoxSelect, dialogCreate


GUI Tcl Library (UNIX) : Tcl Procedures

listBoxUpdateItems

NAME

listBoxUpdateItems - supply a new list for a listbox

LOCALE

UNIX GUI

SYNOPSIS

listBoxUpdateItems name list

DESCRIPTION

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.

SEE ALSO

listbox, listBoxAddItems, listBoxDeleteAll, listBoxSelect, dialogCreate


GUI Tcl Library (UNIX) : Tcl Procedures

listBoxDeleteAll

NAME

listBoxDeleteAll - delete all elements in a list box

LOCALE

UNIX GUI

SYNOPSIS

listBoxDeleteAll name

DESCRIPTION

This function deletes all the elements in the specified listbox, leaving it empty.

SEE ALSO

listbox, listBoxAddItems, listBoxSelect


GUI Tcl Library (UNIX) : Tcl Procedures

listBoxSelect

NAME

listBoxSelect - select an item in a list box

LOCALE

UNIX GUI

SYNOPSIS

listBoxSelect name item

DESCRIPTION

This function selects the item in the specified list box, if it exists.

SEE ALSO

listbox, listBoxAddItems