What replaces root.Event?

Charles Goodwin <[email protected]> Mon, 12 Jan 2004 23:54:17 +0000
Newsgroups gmane.comp.java.xwt.widgets
Organization XWT Foundation
Message-ID <[email protected]>
Before, if you wanted to track a mouse event _outside_ of a widget, you
would simple use the root object:

Press1 += function( v ) {
    root.Release1 += function( v ) {
        xwt.log.info( "button1 released!" );
    }
}

It seems to me that the replacement for this is embedded in the two-way
event model:

Press1 += funciton( v ) {
    _Release1 += function( v ) {
        xwt.log.info( "button1 released!" );
    }
}

That seems to work - except for the logging.  None of the logging
functions work for me.

- Charlie

Homepage - http://xwt.org/~charlie