[Tkinter-discuss] Re: making tkFileDialog and tkMessageBox modal on Win32

jepler at unpythonic.net jepler at unpythonic.net
Fri Apr 8 03:04:10 CEST 2005


On Thu, Apr 07, 2005 at 05:52:57PM -0700, Greg Lee wrote:
> ps: is the need to use the grab function a bug or something 
> I should have expected?

Good question.

The behavior has been this way in Tk since the introduction of the
Windows-native dialogs.  If it hasn't been fixed in that time, the Tk folks
must not consider it a bug.

If window B is not modal, (you can still work with window A while it's
displayed) then why do you want the dialog which is conceptually the child of B
to block interaction with A?  Maybe the behavior you saw on Windows is
correct for this reason.

On the other hand, it's still a cross-platform difference between Unix and
Windows.

That's not a very good answer, but it's the best I have.

Jeff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.python.org/pipermail/tkinter-discuss/attachments/20050407/87c53f08/attachment.pgp


More information about the Tkinter-discuss mailing list