Valid resources are minsize (minimum size of the row), Grid_rowconfigure(self, index, cnf=, **kw) Help on function grid_rowconfigure in module tkinter: (For tracker purposes, this is a graceful exit, not a crash - as in *nix segfault or equivalent Windows error box.) TypeError: argument of type 'int' is not iterable Return self._grid_configure('rowconfigure', index, cnf, kw)įile "C:\Programs\Python32\lib\ tkinter\_init_.py", line 1279, in _grid_configure The_rowconfigure_info = the_frame.rowconfigure(the_row_index)įile "C:\Programs\Python32\lib\ tkinter\_init_.py", line 1326, in grid_rowconfigure
PYTHON TKINTER ROWCONFIGURE CODE
The code assumes the value is a str, but the value can be int.Ĭhange the code block around line 1279 to handle int value as well.įile "F:\Python\mypy\tem.py", line 19, in Field value of 'uniform' does not matter.įile |tkinter._init_|, function |_grid_configure|, line 1279, code |elif '.' in value| caused this error. When use tkinter Widget class's rowconfigure or columnconfigure function (The two functions are defined in baseclass Misc.) to get the setting for a row or column (The setting is a dict containing fields 'minsize', 'pad', 'weight', and 'uniform'.), if field value of 'minsize', 'pad', or 'weight' is a positive integer instead of None, then error |TypeError: argument of type 'int' is not iterable| is raised. Tkinter rowconfigure and columnconfigure functions crash if minsize, pad, or weight is not NoneĪoi.leslie, georg.brandl, gpolo, serhiy.storchaka, terry.reedyĬreated on 09:11 by aoi.leslie, last changed 18:08 by georg.brandl.