Add this method to the Widget class in Tkinter.py:
def pack(self, dict):
for key in dict.keys():
Pack.config(self, key, dict[key])
This changes:
Pack.config(msg, 'side', 'right')
Pack.config(msg, 'expand', 1)
Pack.config(msg, 'fill', 'both')
Pack.config(msg, 'padx', '3m')
Pack.config(msg, 'pady', '3m')
to:
msg.pack({'side': 'right',
'expand': 1,
'fill': 'both',
'padx': '3m',
'pady': '3m'})
Steve
-- Steven Miale - smiale@cs.indiana.edu| I was there at the dawn of the third age Indiana University, Bloomington, IN | of man, and all I got was this lousy .sig