Setting Dialog Box Captions ??

Peter Moscatt pmoscatt at bigpond.net.au
Mon Jun 18 07:44:18 EDT 2001


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





More information about the Python-list mailing list