|
From: Donal K. F. <don...@ma...> - 2005-07-21 07:53:32
|
Jeff Hobbs wrote: > But there is a no -textvariable for a text widget, or other > more complex client areas. Yes, I've seen this be an issue > before - there should be an option to withdraw the dialog > without destroying it. Possibly in line with the persistent > dialogs mentioned? Also useful as a feature where dialogs > would be reused (even maintaining last state). Perhaps all > a bit too much for a simple API, but delayed destruction is > important. Perhaps the right thing to do is to schedule the dialog for deletion upon idle before calling the callback. This gives the callback code all the time it wants to look at the contents of the widgets while arranging for the dialog to go away at the soonest possible opportunity anyway. Donal. |