|
From: Joe E. <jen...@fl...> - 2007-12-01 18:12:22
|
Kevin Partin wrote: > Currently when the user presses a button on a ttk::dialog widget, the > widget is destroyed regardless of which button was invoked, and the > return status of the callback command. > > In terms of user feedback and interaction with the dialog widget, > wouldn't it be better if the command where executed before the dialog > widget is destroyed? The dialog widget could check the return status of > the command, and if it was zero, destroy the dialog. This way the > programmer has some control over when the dialog is destroyed. The dialog will stay posted if the -command script returns a TCL_BREAK or TCL_CONTINUE return code. Does that do what you want? --Joe English jen...@fl... |