[IronPython] Creating .NET events in IronPython
Curt Hagenlocher
curt at hagenlocher.org
Tue Apr 15 23:17:17 CEST 2008
On Tue, Apr 15, 2008 at 1:58 PM, Dan Eloff <dan.eloff at gmail.com> wrote:
> In C# you can create an event:
>
> public event EventHandler<MouseWheelEventArgs> MouseScroll;
>
> And then you can add event handlers normally using +=, but how do you
> could you create MouseScroll from IronPython?
Have you looked at Tutorial/pyevent.py?
If the classes defined therein don't meet your needs, maybe you could
provide a specific example for how you intend to use the event.
--
Curt Hagenlocher
curt at hagenlocher.org
More information about the Ironpython-users
mailing list