PyDocs

Nav

Graphical user interfaces with Tk

Misc.grid_location

tkinter

method of Misc
  • Misc.grid_location(x, y)
Return the (column, row) of the grid cell that contains the pixel at position (x, y), given in pixels relative to this container. For locations above or to the left of the grid, -1 is returned for the corresponding coordinate.
0 Examples
No examples for tkinter/Misc.grid_location.
See Also
No see-alsos for tkinter/Misc.grid_location
0 Notes
No notes for Misc.grid_location