[Mono-osx] [MonoMac] Adding WebKit DOM interfaces
Miguel de Icaza
miguel at novell.com
Thu Nov 11 14:51:59 EST 2010
Hello Alexander,
Attached is what I currently got for DomEvents. Typical usage:
>
Some comments:
* Why do you need to hand-bind the DomNode class, instead of using the
generator?
* I do not quite like the need to create a DomEventListener, I would rather
hide this as a C# delegate:
void AddEventListener (string eventName, bool flag, DomEventHandler handler)
That signature would enable both:
AddEventListener ("click", true, (sender, evt) => {
//handle the event
});
AddEventListener ("click", true, MyHandler);
[...]
void MyHandler (object sender, DomEventArgs evtArgs){
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20101111/aedb6d40/attachment.html
More information about the Mono-osx
mailing list