Title: Re: [IronPython] .NET Events in IronPython
Not as far as I know. I even did some search for it and
didn't find anything. The closest match I found was zope event framework, but no
mention of syntax/language extensions.
Martin
From: Keith J. Farmer
[mailto:[EMAIL PROTECTE
Has the BDFL expressed an opinion on explicitly adding events?
<>___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
> given a mechanism to produce or transform a class into a sealed class
> (if that's a sensible notion in the first place), then function/method
> decorators could be used to express the transformation. i think
> that's the kind of thing for which decorators are intended. (i, also,
> cringe at t
On 11/15/05, Martin Maly <[EMAIL PROTECTED]> wrote:
> Either that (which I don't like very much the idea of adding keywords as it
> modifies the underlying language), or finding some way to express that the
> class I am deriving from .NET class should be sealed. That should get us
> there also, ev
t
be as slick as it is in C#.
Martin
From: Keith J. Farmer
[mailto:[EMAIL PROTECTED] On Behalf Of Keith J.
FarmerSent: Monday, November 14, 2005 6:00 PMTo:
Discussion of IronPythonSubject: RE: [IronPython] .NET Events in
IronPython
You'd need to add an event
keyword, or some ot
: Discussion of IronPython
Subject: Re: [IronPython] .NET Events in IronPython
After playing with this for a bit, I think that at the moment IronPython is not
capable of what you can do below in C#. The insurmountable (for now, I hope)
obsctacle that I hit is that the events must be sealed classes, inh
eating sealed classes. For now, the scenario below is
broken...
Martin
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Michael ShilmanSent: Friday, November 11, 2005
12:59 PMTo: Discussion of IronPythonSubject: [IronPython]
.NET Events in IronPython
Is there any way to
dec
Is there any way to declare .NET events in
IronPython?
Here is a simple example in C# that
“abstracts” a button pressed event into a “hello”
event:
public delegate void HelloInvoked();
public class HelloControl : Panel
{
public event HelloInvoked Hello;