in reply to bind up and down keys in a tk listbox
I'm _far_ from being a Tk expert, so I'd advise you to check out Tk::Focus docs for yourself.foreach my $key ("a" , "b" , "c") { $lb -> insert( 'end', $key ); } $lb->activate ( 0 ) ; $lb->selectionSet ( 0 ) ; $lb->focus();
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: bind up and down keys in a tk listbox
by lepetitalbert (Abbot) on Mar 02, 2007 at 15:13 UTC |