MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / grid_location

Method grid_location

tools/python-3.11.9-amd64/Lib/tkinter/__init__.py:1861–1867  ·  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

1859 columnconfigure = grid_columnconfigure
1860
1861 def grid_location(self, x, y):
1862 """Return a tuple of column and row which identify the cell
1863 at which the pixel at position X and Y inside the master
1864 widget is located."""
1865 return self._getints(
1866 self.tk.call(
1867 'grid', 'location', self._w, x, y)) or None
1868
1869 def grid_propagate(self, flag=_noarg_):
1870 """Set or get the status for propagation of geometry information.

Callers 1

test_grid_locationMethod · 0.80

Calls 2

_getintsMethod · 0.95
callMethod · 0.80

Tested by 1

test_grid_locationMethod · 0.64