Hi all,

I have a problem integrating Qooxdoo with another library than uses an
iframe to display content. I need the events fired on this Iframe to be
injected in Qooxdoo event system so it will fire Commands with shortcuts.

I've looked at qx.event.handler.Keyboard but every method I found is
private or protected, what I need is to call keyPress handler like if the
event comes from browser

(on the iframe)

document.addEventListener('keypress', function(evt) {
  var qx = window.parent.qx;
  var handler = qx.event.Manager.getHandler(qx.event.handler.Keyboard);

  // I'ts private!
  handler.__onKeyPress(evt);
}, true);

Is there any way to do this?

---
A. Matías Q.
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to