On Thu, 21 Dec 2006 22:37:37 +0100, James Stroud <[EMAIL PROTECTED]>
wrote:
> Eric Brunel wrote:
>> BTW, why do you create a sub-class of Frame for your application? Why
>> not create a sub-class of Tk instead?
>>
>
> The short answer is that inhereting from Frame will allow embedding of
>
Thanks for the reply.
I used your modified code to test. I ran the code on Windows Python 2.4
tcl/tk 8.4. When I opened the ui I:
1) click browse button
2) file dialog opens and I double click the file. When I do this, the
selected file path is entered in Entry field. I don't need to close
d
Eric Brunel wrote:
> BTW, why do you create a sub-class of Frame for your application? Why
> not create a sub-class of Tk instead?
>
The short answer is that inhereting from Frame will allow embedding of
the application in another application. A Tk() can not be embedded like
this. Tk is appro
On Wed, 20 Dec 2006 18:37:10 +0100, mdmdmd <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I wish to collect 4 files from a user. So I have decided to use
> tkFileDialog askopenfilename. My problem is that after a few file
> selections the root window is destroyed (the whole program just
> dissapp