[Tutor] Tkinter - master attribute

Jim Byrnes jf_byrnes at comcast.net
Tue Jun 8 18:38:28 CEST 2010


When reading code examples I see things like 
theframe.master.title('spam) or
def __init__(self, master):
     frame = Frame(master)

When I encounter these I tend to get bogged down trying to decide if 
"master" has special meaning or is just a name the author has chosen. 
For example is it similar to Buttton(text='spam) where text in this case 
has special meaning.

I've goolged and found references to "widgets master attributes" but 
nothing to really explain it.  Could someone point me to a good 
reference so that I could better understand it use.

Thanks,  Jim


More information about the Tutor mailing list