Setting Dialog Box Captions ??
Peter Moscatt
pmoscatt at bigpond.net.au
Tue Jun 19 05:27:23 EDT 2001
Thanks Aurelio..... just what I needed.
Pete.
Aurelio Martín wrote:
>
> Peter Moscatt <pmoscatt at bigpond.net.au> escribió en el mensaje de noticias
> mQlX6.140495$ff.1066592 at news-server.bigpond.net.au...
>> How does one place a "Title" in the master frame ?
>>
>> For example, if I was to have the following code:
>>
>> from Tkinter import *
>> root=Tk()
>> w=Label(root, text="Hello World")
>> w.pack()
>> root.mainloop()
>>
>> And now I wanted to place "This is My Test Dialog" as the caption for the
>> root frame - how would I doo this ?
>>
>> Regards
>> Pete
>>
>>
>
> root.title( "This is My Test Dialog" )
>
>
>
>
More information about the Python-list
mailing list