On approximately 1/22/2004 12:36 PM, came the following characters from
the keyboard of Steve Pick:
Hi,

I've implemented the following two functions:

$coderef = $window->GetEvent("eventname");
$window->SetEvent("eventname", \&sub);

These allow you to access and modify NEM event handlers.

Great.

You can't access and modify OEM event handlers. I should hope that the
reasons are obvious: It would be impossible and pointless.

Well, actually, since they are simply functions in the global name space, it is quite possible, but there is no need for a special XS function to do it. This is how WinSize.pm currently works.

Sourceforge's CVS is being particularly annoying at the moment (I can't get
a branch list from it, and it keeps failing to respond when connecting) so
you'll probably have to wait a bit before you see the changes appear.

Life is hard, and then you die.** Hopefully these will appear before then. :) Thanks for figuring out how, and doing it.

Steve

** Unless you believe in reincarnation-- in that case, life is hard, and then life is hard, and then life is hard, and then life is hard...

--
Glenn -- http://nevcal.com/
===========================
The best part about procrastination is that you are never bored,
because you have all kinds of things that you should be doing.


Reply via email to