Re: [Tkinter-discuss] tkFileDialog

2013-08-16 Thread Paul Malherbe
Hi Michael Thanks. this does the trick for me. Regards Paul Malherbe On 15/08/2013 20:58, Michael Lange wrote: > On Tue, 30 Jul 2013 15:01:16 +0200 > Michael Lange wrote: > >> Hmm... the "center on screen" gimmick works only with the first dialog, >> can someone fix that ;) >> Anyway, unless

Re: [Tkinter-discuss] tkFileDialog

2013-08-15 Thread Michael Lange
On Tue, 30 Jul 2013 15:01:16 +0200 Michael Lange wrote: > Hmm... the "center on screen" gimmick works only with the first dialog, > can someone fix that ;) > Anyway, unless we come up with something better, I'd classify this as > strictly "don't try this at home"-ish :) Just for the fun of it I'

Re: [Tkinter-discuss] tkFileDialog

2013-07-30 Thread Michael Lange
Hi Paul, On Tue, 30 Jul 2013 12:02:37 +0200 Paul Malherbe wrote: > HI > > I have a question regarding tkFileDialog. > > Is there any way I can create the dialog with customised dimensions as > the default is very small? There doesn't seem to be something obvious. I tried to use the option dat

Re: [Tkinter-discuss] tkFileDialog: Create new folder

2009-07-03 Thread Wayne
On Fri, Jul 3, 2009 at 9:48 AM, Vasilis Vlachoudis < vasilis.vlachou...@cern.ch> wrote: > Hi all, > > is there a Tkinter:FileDialog that that has a "create a new folder" > functionality for tkFileDialog.asksavefilename? on Windows XP the tkFileDialog.asksaveasfilename() has a "new folder" button

Re: [Tkinter-discuss] tkFileDialog: shuts down root window

2006-12-27 Thread mopman
Yes, this happens on wish.exe as well. to repeat: 1) start Dos console and cd to C:\Tcl\demos\Tk8.4 2) at prompt enter: wish widget.tcl - widget demonstration window opens 3) scroll to Common Dialogs and select 2. File selection dialog 4) click browse button in dialog 5) click Desktop button on l

Re: [Tkinter-discuss] tkFileDialog: shuts down root window

2006-12-27 Thread Jeff Epler
You should determine whether this error happens with wish.exe as well as with Python's Tkinter module. If it does, please submit a bug report to http://sf.net/projects/tktoolkit http://sf.net/tracker/?group_id=12997&atid=112997 Jeff ___ Tkinter

Re: [Tkinter-discuss] tkFileDialog: shuts down root window

2006-12-27 Thread mopman
I believe I have the missing piece to this puzzle. This only happens when selecting files from the Desktop. If I'm selecting files from any other location it is fine. To repeat: 1) in the code that I submitted, change the initialdir to your python dir: e.g. 'C:\\Python24' 2) run code - window

Re: [Tkinter-discuss] tkFileDialog: shuts down root window

2006-12-21 Thread mopman
Ahha! I know how to reproduce this! I was starting to think it was the Eclipse IDE but I did a reboot and ran from the windows console to make sure it wasn't to repeat: 1) Right after reboot, I opened a window console, did a cd to my python directory and entered "python .py" to open the ui wind

Re: [Tkinter-discuss] tkFileDialog: shuts down root window

2006-12-21 Thread mopman
Hello, Thank you for the reply. I commented out the Pmw import and still have the same results. I usually run the program through Eclipse with the Pydev plugin. But I also have tried running it by bringing up a window console and I have the same result. So I don't think it is a problem is wit

Re: [Tkinter-discuss] tkFileDialog: shuts down root window

2006-12-20 Thread Fredrik Lundh
mopman wrote: > I'm using python tkinter to create a GUI. I wish to collect 4 files from a > user so for this part I created a GUI that has a Label, Entry and Button. > To get the file I use tkFileDialog askopenfilename. My problem is that > after a few file selections using the tkFileDialog,