# NOTE: Derived from ../blib/lib/Tk/Listbox.pm.
# Changes made here will be lost when autosplit is run again.
#line 317 "../blib/lib/Tk/Listbox.pm (autosplit into ../blib/lib/auto/Tk/Listbox/AutoScan.al)"
# This procedure is invoked when the mouse leaves an entry window
# with button 1 down. It scrolls the window up, down, left, or
# right, depending on where the mouse left the window, and reschedules
# itself as an "after" command so that the window continues to scroll until
# the mouse moves back into the window or the mouse button is released.
# x - The x-coordinate of the mouse when it left the window.
# y - The y-coordinate of the mouse when it left the window.
$w->yview('scroll',1,'units')
$w->yview('scroll',-1,'units')
$w->xview('scroll',2,'units')
$w->xview('scroll',-2,'units')
$w->Motion($w->index("@" . $x . ',' . $y));
$w->RepeatId($w->after(50,'AutoScan',$w,$x,$y));
# end of Tk::Listbox::AutoScan