November 1999
Intermediate to advanced
832 pages
19h 28m
English
The grid manager supports attributes on whole rows and columns. You can control the row and column sizes with a -pad and -minsize attribute. The -weight attribute controls resize behavior. The grid command has a rowconfigure and columnconfigure operation to set and query these attributes:
grid columnconfigure master col ?attributes? grid rowconfigure master row ?attributes?
With no attributes, the current settings are returned. The row and col specifications can be lists instead of simple indices, so you can configure several rows or columns at once.
The -pad attribute increases a row or column size. The initial size of a row or column is determined by the largest widget, and -pad adds to this ...
Read now
Unlock full access