I'm wrapping nsIDOM* stuff for Perl/GtkMozEmbed (Gtk2::MozEmbed).
  Until now, I found that I haven't had to worry about constructors;
I just write functions that convert from Perl arguments to C++,
call the C++ method, then convert C++ return values to Perl.
Since I have the "embed" object already, and it has a
gtk_moz_embed_get_nsIWebBrowser method that gets the
nsIWebBrowser object and signal marshallers to get mouse
and key event objects, I never need to construct an object.
  Now I'm trying to figure out how nsIDOMEventListener works.
Is this something I finally have to implement the class in C++
for? (using the template at the bottom of the mozilla header file)
Or is there a way to create these from another object?
(like DocumentEvent can apparently create Events, for example)
_______________________________________________
mozilla-embedding mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to