in reply to Perl/Tkx Mousewheel
You might use Data::Dumper to show you the contents of the array you are getting, i.e.
use Data::Dumper; ... $canvas->g_bind("<MouseWheel>", sub { Dumper( Tkx::Ev('%D')) . "\n";
Presumably the information you are looking for is in that array, just an indirection away
UPDATE: Tkx::Ev seems to return an object!!! Accessing the array would be a hack, maybe you can find the right accessor in the documentation.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Perl/Tkx Mousewheel
by chiron (Novice) on Mar 10, 2009 at 17:08 UTC | |
by jethro (Monsignor) on Mar 10, 2009 at 17:47 UTC |