(self, y)
return self.tk.getint(self.tk.call(
            self._w, 'nearest', y))
Get index of item which is nearest to y coordinate Y.
Get index of item which is nearest to y coordinate Y.
Get index of item which is nearest to y coordinate Y .
def nearest(self, y):
        """Get index of item which is nearest to y coordinate Y."""
        return self.tk.getint(self.tk.call(
            self._w, 'nearest', y))
def nearest ( self , y ) : return self . tk . getint ( self . tk . call ( self . _w , 'nearest' , y ) )