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

Stewart Midwinter stewart.midwinter at gmail.com
Wed Apr 6 23:31:57 CEST 2005


Good observation, Michael!  That was the ticket, at least for me when
I run Greg's sample app on WinXP with Python 2.4.1

cheers
S


On Apr 6, 2005 1:33 PM, Michael Lange <klappnase at web.de> wrote:
> On my box (linux) the file dialog is modal, however because you didn't specify a parent to the file  dialog
> it's modal to the root window and not to the child-toplevel, so I can lift the toplevel over the file dialog,
> but as expected the toplevel's buttons do not respond. Maybe it's a system/Tk-version problem that the grab
> doesn't work for you? Anyway, you could try to pass "parent=self.top" to askopenfilename() and see what happens.


-- 
Stewart Midwinter
stewart at midwinter.ca
stewart.midwinter at gmail.com
Skype: midtoad


More information about the Tkinter-discuss mailing list