MCPcopy Index your code
hub / github.com/python/cpython / grid_size

Method grid_size

Lib/tkinter/__init__.py:2049–2052  ·  view source on GitHub ↗

Return a tuple of the number of column and rows in the grid.

(self)

Source from the content-addressed store, hash-verified

2047 rowconfigure = grid_rowconfigure
2048
2049 def grid_size(self):
2050 """Return a tuple of the number of column and rows in the grid."""
2051 return self._getints(
2052 self.tk.call('grid', 'size', self._w)) or None
2053
2054 size = grid_size
2055

Callers 3

tearDownMethod · 0.80
test_grid_sizeMethod · 0.80
make_buttonMethod · 0.80

Calls 2

_getintsMethod · 0.95
callMethod · 0.45

Tested by 2

tearDownMethod · 0.64
test_grid_sizeMethod · 0.64