Version 1 of grid location

Updated 2003-10-01 19:06:30

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.


See also:


Tk syntax help - Category Command - Category Introspection