[webkit-gtk] Delegate type for GClosure inwebkit_dom_event_target_add_event_target_with_closure()

Robert Schroll rschroll at gmail.com
Wed Oct 15 08:59:16 PDT 2014


Hi all,

I'm trying to learn how to do DOM manipulations with WebKit2GTK in Vala 
[1].  I've run into the problem that I can't add event listeners 
because the handler is simply a GClosure and the GIR doesn't include 
the delegate type [2].  We can fix that in the metadata, though.  So, 
is there a delegate defined for event handlers?

Thanks,
Robert

[1] https://github.com/rschroll/webkitdom/tree/extension
[2] https://bugzilla.gnome.org/show_bug.cgi?id=636812



More information about the webkit-gtk mailing list