Re: Events and Signals
- From: muppet <scott asofyet org>
- To: "Jorge P Costa" <jorge adis com br>
- Cc: gtk-perl-list gnome org
- Subject: Re: Events and Signals
- Date: Tue, 21 Sep 2004 14:39:56 -0400
On Sep 21, 2004, at 2:10 PM, Jorge P Costa wrote:
Hello everybody, I need to know what events and signals are emmited
when I
alternate between aplications. (eg: focus, window state, application
level, etc).
add this module to your program from the perl command line, and it will
show you the events as they come in:
http://asofyet.org/muppet/software/gtk2-perl/EventLogger.pm
# assuming EventLogger.pm is in the current directory
perl -MEventLogger myapp
the output is tuned to be read in an eval'd by another perl program
(output with Data::Dumper), but i never really finished it. it does at
least show you what happens.
--
Examples really shouldn't include unexploded ordnance.
-- Joe Smith, referring to an example program i wrote.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]