keyboard events in subclassed Goo::Canvas



Hi, I worked out keypress events on the Goo::Canvas, and shown in 
attached keypress.pl.

In attempting to put the Goo::Canvas into a package, the mouse
events come thru, but not the keyboard. 
As shown in keypress-packaged.pl 

Anyone know why, or how to make it work?


Thanks,
zentara


-- 
I'm not really a human, but I play one on earth.
http://zentara.net/Remember_How_Lucky_You_Are.html 

Attachment: keypress.pl
Description: Perl program

Attachment: keypress-package.pl
Description: Perl program



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]