[Kde-bindings] Delegate support for Qyoto

Richard Dale rdale at foton.es
Mon Mar 31 17:37:11 UTC 2008


On Monday 31 March 2008 14:58:43 Arno Rehn wrote:
> Hi,
>
> I just discovered that the deadline for the 4.1 feature plan is 7 April, so
> I would suggest to add delegate support for Qyoto to this feature list. The
> implementation of that is rather simple.
> We already had a discussion about the ugliness of a construct like
> Connect<bool>(this, SIGNAL("clicked(bool)"), delegate(bool b) { /* some
> code */ });
> but this would go away with the C# 3.0 features (If the programmer is
> willing to use them). Anyway, we could add support methods like
> AddClickedHandler() which looks even nicer and solve this problems for C#
> versions prior to 3.0, too.
In Glasgow when we were discussing, I think I just wanted to start with some 
simple types, whereas you wanted to autogenerate for all types. Did our 
solutions look the same apart from that - I'll need to find the code - I 
don't know where I put it.

Does Mono have the C# 3.0 features to implement this then?

We should add the modular smoke improvements and plans to wrap some KDE plugin 
apis in Ruby and C# to the release plan too I think.

-- Richard




More information about the Kde-bindings mailing list