Re: [Tutor] tkFileDialog.Directory

2005-11-15 Thread Michael Lange
On Tue, 15 Nov 2005 17:03:24 +0100 (MET) [EMAIL PROTECTED] wrote: > > I would like to ask another question. I don't understand the exception > mechanism > of Python when running a Tkinter app. If an exception happens (it does > happen quite often > at the moment..), a traceback is written to the

Re: [Tutor] tkFileDialog.Directory

2005-11-15 Thread K . Weinert
Hello! Michael Lange <[EMAIL PROTECTED]> wrote: > I guess the tkFileDialog.Directory class isn't intended to be used directly. > Try tkFileDialog.askdirectory() instead. > If there are problems with the grab state, try passing "parent=self.top" to askdirectory(). That did it! Thanks a lot! I wou

Re: [Tutor] tkFileDialog.Directory

2005-11-14 Thread Michael Lange
On Mon, 14 Nov 2005 14:42:27 +0100 (MET) [EMAIL PROTECTED] wrote: > Hello! > I want to learn Tkinter and try to build a small File search dialog. Tkinter > is nice, but here is a problem where I am stuck: > > I want to allow the dialog's user to pick a directory. The widget for this > is tkFileDi

[Tutor] tkFileDialog.Directory

2005-11-14 Thread K . Weinert
Hello! I want to learn Tkinter and try to build a small File search dialog. Tkinter is nice, but here is a problem where I am stuck: I want to allow the dialog's user to pick a directory. The widget for this is tkFileDialog.Directory. But when I start the Directory-Window, it is possible move the