hi,

        I'm looking to create something similar to the event model in a web
        browser's DOM.

        I have a C++ object that can blit stuff to screen and I'd like to tie
        in a callback from the javascript side for mouse events like so:

        var obj = CppObject();
        obj.onmousedown = function ( e ) {  // do stuff with e };


        any ideas on how to do this?   The "obj.onmousedown" will be called
        from the C++ side of things as that is where the events are polled.

        any tips would be much appreciated.  thank you - august.

--~--~---------~--~----~------------~-------~--~----~
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to