Tkinter problems
Fredrik Lundh
fredrik at effbot.org
Tue Oct 31 18:13:31 EST 2000
Sindh wrote:
> Is there a equivalent of pack(expand=1,fill='both') for grid!
it's a little tricker: you have to set options on the row
and/or column by calling rowconfigure/columnconfigure
on the *parent* parent:
widget = Widget(master)
widget.grid(row=1, column=2, sticky='nsew')
parent.rowconfigure(1, weight=1)
parent.columnconfigure(2, weight=1)
for more info (and more options), see:
http://www.pythonware.com/library/tkinter/introduction/grid.htm
=> methods
</F>
More information about the Python-list
mailing list