background cursor foreground
See the options manual entry for details on the standard options.
height master modality width
See the shell manual entry for details on the above inherited options.
title
See the toplevel manual entry for details on the above inherited options.
Name: buttonBoxPadX Class: Pad Command-Line Switch: -buttonboxpadx
Name: buttonBoxPadY Class: Pad Command-Line Switch: -buttonboxpady
Name: buttonBoxPos Class: Position Command-Line Switch: -buttonboxpos
Name: padX Class: Pad Command-Line Switch: -padx
Name: padY Class: Pad Command-Line Switch: -pady
Name: separator Class: Separator Command-Line Switch: -separator
Name: thickness Class: Thickness Command-Line Switch: -thickness
The iwidgets::dialogshell command creates a dialog shell which is a top level widget composed of a button box, separator, and child site area. The class also has methods to control button construction.
The iwidgets::dialogshell command create 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 dialogshell widgets:
activate center deactivate
See the shell manual entry for details on the above inherited methods.
add buttonconfigure default delete hide index insert invoke show
See the buttonbox manual entry for details on the associated methods.
Name: dschildsite Class: frame
Name: separator Class: frame
Name: bbox Class: ButtonBox
package require Iwidgets 4.0 iwidgets::dialogshell .ds -modality none .ds add OK -text "OK" .ds add Cancel -text "Cancel" .ds default OK .ds activate