Listbox key bindings not working as expected

"Rainer J.H. Brandt" <[email protected]> Fri, 13 Aug 2010 10:49:15 +0200
Newsgroups gmane.comp.lang.perl.tk
Message-ID <[email protected]>
Hello,

the Tk::Listbox man page says:

    "[5] If the Up or Down key is pressed, the location cursor
         (active element) moves up or down one element.  If the
         selection mode is browse or extended then the new active
         element is also selected and all other elements are
         deselected.  In extended mode the new active element
         becomes the selection anchor."

However, when I select one element with button one, and then use
the Up and Down keys, nothing happens at all.
Use this script to reproduce the problem:

use Tk;
$mw =3D MainWindow->new();
$lb =3D $mw->Listbox()->pack();
$lb->insert('end', 1..5);
MainLoop;

I've tried with 804.029 under Perl 5.12.1 on recent Solaris
and OS X versions.  I've verified that the keys are recognized as
Up and Down.  Do you have any advice?

Thanks, Rainer
-- =

Rainer J. H. Brandt
Brandt & Brandt Computer GmbH
Am Wiesenpfad 6, 53340 Meckenheim
Gesch=E4ftsf=FChrer: Rainer J. H. Brandt und Volker A. Brandt
Handelsregister: Amtsgericht Bonn, HRB 10513

RFC 5322: "Each line [...] SHOULD be no more than 78 characters"
--++**=3D=3D--++**=3D=3D--++**=3D=3D--++**=3D=3D--++**=3D=3D--++**=3D=3D--+=
+**=3D=3D
ptk mailing list
[email protected]
https://mailman.stanford.edu/mailman/listinfo/ptk