Hi Fabian,
panyasan wrote: > > I've done some experimenting but have to admit that I don't know enough > about the event dispatch process in order to create patches that would > allow remapping the events to the new window. Would it be possible to > explain in a few sentences or maybe even a small graph how the current > system of abstracting the "real" browser events works? I guess any > solution that does not imply rewriting the event system from scratch must > be based on unregistering the attached events from one window and > reattaching them in the context of the new window. > I know this has low priority for the qx devs, but I'd humbly like to ask if you would see a chance of implementing native window support as I outlined. I know about http://qooxdoo.org/documentation/0.8/event_layer_impl but this document doesn't really help me solve the issue. Would there be a way withhin the current Framework to remap events to a different document? I am thinking of the follwoing pseudo-code qx.event.Manager.getAllListeners().forEach( function( el, type, listener, useCapture ) { if ( x.y.getWindow(el) === nativeWindow ){ // removing and re-adding should fix the listeners that have been attached to the // main window before the widget elements were added to the DOM of the new native // window eventManager.removeListener( el, type, listener, useCapture ) eventManager.addListener( el, type, listener, useCapture ); },this); Do you think somthing like this might work? Cheers, Christian -- View this message in context: http://n2.nabble.com/Native-Window-again-tp3723200p4025397.html Sent from the qooxdoo mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel