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

2005-04-06 Thread jepler
I just took a look at what we do in the linux/windows/tcl/tk app I work with. It looks like when we create dialogs with tk_getOpenFile and friends, they are created with the proper parent *and that parent has the Tk application-level grab*. The result on Windows seems to be that Tk prohibits inte

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

2005-04-06 Thread Greg Lee
On Apr 6, 2005 1:33 PM, Michael Lange 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 top

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

2005-04-06 Thread Stewart Midwinter
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 <[EMAIL PROTECTED]> wrote: > On my box (linux) the file dialog is modal, however because you didn't > specify a parent to the f

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

2005-04-06 Thread Michael Lange
On Wed, 6 Apr 2005 11:04:50 -0700 "Greg Lee" <[EMAIL PROTECTED]> wrote: > The esteemed Fredrik Lundh responded: > > > well, they sure are modal on my machine. maybe you could post an example, > > tell > > us how it behaves on your machine, and tell us how you expected it to > > behave. > > I,

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

2005-04-06 Thread Greg Lee
The esteemed Fredrik Lundh responded: > well, they sure are modal on my machine. maybe you could post an example, > tell > us how it behaves on your machine, and tell us how you expected it to behave. I, too, have seen the file dialogs behave modally on my machine---but not always. This follo