[Mono-osx] [MonoMac] Adding WebKit DOM interfaces

Alexander Shulgin alexander.shulgin at yessoftware.com
Fri Nov 12 08:20:31 EST 2010

On 11.11.2010 21:51, Miguel de Icaza wrote:
> 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?

Perhaps I didn't quite get how to employ the generator for this case. 
Do you suggest that we simply stuff DomEventTarget methods under DomNode 
interface in webkit.cs?

> * 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)

Me too.  But this can't map directly to the ObjC method, right?  We'll 
need to add an overload which will transfer control from it's internal 
DomEventListener instance to the delegate.

Please confirm that I'm on the right track, so I will get to implement 
these refinements.


More information about the Mono-osx mailing list