Re: key_press_event
- From: Dermot Musgrove <dermot glade perl connectfree co uk>
- To: wagner frederic <wagnerf ens-info u-strasbg fr>, "gtk-perl-list gnome org" <gtk-perl-list gnome org>
- Subject: Re: key_press_event
- Date: Fri, 17 Nov 2000 04:13:37 +0000
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:/personal.riverusers.com/~swilhelm/gtkperl-tutorial/ 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]