MCPcopy Index your code
hub / github.com/RustPython/RustPython / grid_location

Method grid_location

Lib/tkinter/__init__.py:1962–1968  ·  view source on GitHub ↗

Return a tuple of column and row which identify the cell at which the pixel at position X and Y inside the master widget is located.

(self, x, y)

Source from the content-addressed store, hash-verified

1960 columnconfigure = grid_columnconfigure
1961
1962 def grid_location(self, x, y):
1963 """Return a tuple of column and row which identify the cell
1964 at which the pixel at position X and Y inside the master
1965 widget is located."""
1966 return self._getints(
1967 self.tk.call(
1968 'grid', 'location', self._w, x, y)) or None
1969
1970 def grid_propagate(self, flag=_noarg_):
1971 """Set or get the status for propagation of geometry information.

Callers

nothing calls this directly

Calls 2

_getintsMethod · 0.95
callMethod · 0.45

Tested by

no test coverage detected