# NOTE: Derived from ../blib/lib/Tk/Listbox.pm.
# Changes made here will be lost when autosplit is run again.
#line 386 "../blib/lib/Tk/Listbox.pm (autosplit into ../blib/lib/auto/Tk/Listbox/ExtendUpDown.al)"
# Does nothing unless we're in extended selection mode; in this
# case it moves the location cursor (active element) up or down by
# one element, and extends the selection to that point.
# w - The listbox widget.
# amount - +1 to move down one item, -1 to move back one item.
if ($w->cget('-selectmode') ne 'extended')
$w->activate($w->index('active')+$amount);
$w->Motion($w->index('active'))
# end of Tk::Listbox::ExtendUpDown