Guest_imported
New member
- Jan 1, 1970
- 0
I am trying to create a modal dialog. The dialog is started from a button as shown in the code below.
.mybutton -command {
wm deiconify .aboutdialog
tkwait window .aboutdialog
}
The code for the dialog is shown below.
wm withdraw .aboutdialog
The problem is the caller window is still active. I can still run the caller window. In true modal dialog, you have to retire the dialog before you can go back to the caller window.
.mybutton -command {
wm deiconify .aboutdialog
tkwait window .aboutdialog
}
The code for the dialog is shown below.
wm withdraw .aboutdialog
The problem is the caller window is still active. I can still run the caller window. In true modal dialog, you have to retire the dialog before you can go back to the caller window.