|
From: Kevin P. <Kev...@Ap...> - 2007-12-02 04:06:24
|
Yes, that will do nicely. Thanks for the post. Kevin On Sat, 2007-12-01 at 10:12 -0800, Joe English wrote: > 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... > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: The Future of Linux Business White Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > _______________________________________________ > Tktable-tile-dev mailing list > Tkt...@li... > https://lists.sourceforge.net/lists/listinfo/tktable-tile-dev -- Kevin Partin Applied Structural Dynamics, Inc. (281) 286-8959 |