[Kde-bindings] Passing blocks to constructors in Qyoto

Richard Dale rdale at foton.es
Mon Jun 29 11:30:29 UTC 2009


Just seen a code snippet on this blog which has a block being passed to a 
UILabel constructor:

http://tirania.org/blog/archive/2009/Jun-29.html

UILabel l = new UILabel(new CGRect(50, 50, 230, 100)) {
    Text = "Hello from MonoTouch";
};

I've found it is really useful to be able to do that in QtRuby.

Would it be possible to do that in Qyoto? Does it need a very new version of 
Mono to work?

-- Richard



More information about the Kde-bindings mailing list