Re: key_press_event

wagner frederic wrote:

Hi again folks

I was just wondering how to get some raw keyboard input

when using a key_press_event, there isn't any data containing the key
pressed in the function args.

How could I get that ?
Hi, there is s good explanation about signal and event handlers in
the Gtk-Perl tutorial at 
http:/ in chapter 4.

Basically, an event handler gets all the normal stuff plus an event
hash tagged onto the end of its args.

Try 'use Data::Dumper; print Dumper(\ _);' in your handler to see what 
it is getting as args.

Regards, Dermot

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