[Tutor] Grid Manager Positioning
Johnston Jiaa
oclbdk at gmail.com
Thu Nov 29 05:18:06 CET 2007
How do I get widgets to be on the extreme left and right sides of a
frame using the grid manager? My code is similar to this..
big_frame = Frame(root)
big_frame.grid(sticky=W+E)
left_frame = Frame(big_frame)
left_frame.grid(row=0, column=0, sticky=W)
right_frame = Frame(big_frame)
right_frame.grid(row=0, column=1, sticky=E)
Supposing the root window is wider than the left and right frames put
together, why doesn't left_frame go all the way to the left and
right_frame all the way to the right with a space between them? How
do I make it do that?
Johnston Jiaa
More information about the Tutor
mailing list