I see your point, but is reimplementing such interface(s) the only way to
get it ? e.g. In my case I am using gtkmozembed widget and trying something
using manipulating loads through dom_mouse_down|up|move and open_uri
signals/callbacks ... but I am not please at all ! So, could I get the
listener of a nsDOMWindow through another way instead and then add|remove
event listener, or I have to implement my own event listener class and pass
"this" at the second parameter (see bellow) ?
DOMWindow->RemoveEventListener (NS_LITERAL_STRING("mousedown"), ???,
PR_TRUE)
http://lxr.mozilla.org/mozilla1.8/source/dom/src/base/nsGlobalWindow.cpp#5104
regards
Antonio Gomes wrote:
> I'd like to disable/enable 'loading' when clicking on links under
certain
> situations.
This is the default action; it's not done via an event listener. You'd
have to
have your own event listener and call preventDefault() on the event.
--
--Antonio Gomes
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding