Go up one levelGo to Previous Go to Next

ListDialog

A ListDialog is a dialog to display a listbox with a number of choices. When the user makes a selection and types OK or <Enter>, the widget returns the value via the activate method.

Example:

 
set w [ListDialog .d \ 
      -text {Please choose} \ 
        -choice {{first line} {second line} {third line} {fourth line} {...}} \ 
      -modal 0] 
puts "Dialog returned: [$w activate]"

See ListDialog(n) for more details.


Go up one levelGo to Previous Go to Next

Please send questions or comments to abrighto@eso.org.
Copyright © 1998 ESO - European Southern Observatory