Naming Tk frames

vector Vector180W at netscape.net
Mon Feb 3 18:59:39 EST 2003


question later,,but first
apology for previous email. it seems my newsmail reader is not showing 
responses to my emails.thanks to Laura for cc to me direct.

Q how does one name the tk frame? can you name a frame? i have looked 
and played and still cant get it to work.
when i say name I mean the text in the top of the frame. there is  a red 
fonted TK then a white one. I am assuming your can modify the white one 
to read "myapp"?
<sample code>
from Tkinter import *
class App:
     def __init__(self, master):     #create window
         frame = Frame(master)
         frame.pack()
root = Tk()
app = App(root)
root.mainloop()





More information about the Python-list mailing list