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

Method grid_info

Lib/tkinter/__init__.py:2795–2801  ·  view source on GitHub ↗

Return information about the options for positioning this widget in a grid.

(self)

Source from the content-addressed store, hash-verified

2793 self.tk.call('grid', 'remove', self._w)
2794
2795 def grid_info(self):
2796 """Return information about the options
2797 for positioning this widget in a grid."""
2798 d = _splitdict(self.tk, self.tk.call('grid', 'info', self._w))
2799 if 'in' in d:
2800 d['in'] = self.nametowidget(d['in'])
2801 return d
2802
2803 info = grid_info
2804 location = grid_location = Misc.grid_location

Calls 3

_splitdictFunction · 0.85
nametowidgetMethod · 0.80
callMethod · 0.45