Mozilla::DOM::UIEvent
Mozilla::DOM::UIEvent is a wrapper around an instance of Mozilla's nsIDOMUIEvent interface, from which Mozilla::DOM::KeyEvent and Mozilla::DOM::MouseEvent inherit. This class inherits from Event.
* The nsIDOMUIEvent interface is the datatype for all UI events in the * Document Object Model. * * For more information on this interface please see * L<http:E<sol>E<sol>www.w3.orgE<sol>TRE<sol>DOM-Level-2-EventsE<sol>>
Pass this to QueryInterface.
I don't know what a "detail" is. (Apparently it isn't used during dom_mouse_over or dom_mouse_out signals. When clicking the mouse, it seems to be the number of consecutive clicks, up to 3.)
See the DOM Level 2 Views specification.
$eventtype (string)
$canbubble (boolean)
$cancelable (boolean)
$detail (integer (long))
See Event::InitEvent for more information. This method is basically the same, but with two extra arguments. (XXX: add docs for args)
Note: I don't see how you can Create or QueryInterface an AbstractView, and trying to pass in 0 or undef was just causing a segfault, so I've omitted what would normally be the 4th argument of this method. If someone can explain why you'd need it and how you'd use it, then I can put it back in.
0
undef
Mozilla::DOM
Copyright (C) 2005-2007, Scott Lanning
This software is licensed under the LGPL. See Mozilla::DOM for a full notice.
To install Mozilla::DOM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mozilla::DOM
CPAN shell
perl -MCPAN -e shell install Mozilla::DOM
For more information on module installation, please visit the detailed CPAN module installation guide.