Version 2 of grid location

Updated 2006-02-16 00:52:53

grid location master x y

Given x and y values in screen units relative to the master window, the column and row number at that x and y location is returned. For locations that are above or to the left of the grid, -1 is returned.

33 26'52=----

See also:

111 45' 47=----

Tk syntax help - Category Command - Category Introspection