SYNOPSISpromptdialog pathName ?options?INHERITANCEitk::Toplevel <- dialogshell <- dialog <- promptdialogSTANDARD OPTIONS
See the "options" manual entry for details on the standard options. ASSOCIATED OPTIONS
See the "entry" widget manual entry for details on the above associated options.
See the "entryfield" widget manual entry for details on the above associated options.
See the "labeledwidget" widget manual entry for details on the above associated options. INHERITED OPTIONS
See the "dialogshell" widget manual entry for details on the above inherited options.
See the "shell" widget manual entry for details on the above inherited options.
See the "Toplevel" widget manual entry for details on the above inherited options.
DESCRIPTIONThe promptdialog command creates a prompt dialog similar to the OSF/Motif standard prompt dialog composite widget. The promptdialog is derived from the dialog class and is composed of a EntryField with commands to manipulate the dialog buttons. METHODSThe promptdialog command creates a new Tcl command whose name is pathName. This command may be used to invoke various operations on the widget. It has the following general form: pathName option ?arg arg ...?Option and the args determine the exact behavior of the command. The following commands are possible for promptdialog widgets: ASSOCIATED METHODS
See the "entry" widget manual entry for details on the above associated methods.
See the "entryfield" widget manual entry for details on the above associated methods. INHERITED METHODS
See the "buttonbox" widget manual entry for details on the above inherited methods.
See the "dialogshell" widget manual entry for details on the above inherited methods.
See the "shell" widget manual entry for details on the above inherited methods. WIDGET-SPECIFIC METHODS
COMPONENTS
Name: prompt Class: Entryfield
EXAMPLEoption add *textBackground white promptdialog .pd -modality global -title Password -labeltext Password: -show * .pd hide Apply if {[.pd activate]} { puts "Password entered: [.pd get]" } else { puts "Password prompt cancelled" } AUTHORMark L. UlfertsKEYWORDSpromptdialog, dialog, dialogshell, shell, widget |