Hey Luca,

you can always access the native DOM element of a qooxdoo widget. Take a look 
at the example:

var c = new qx.ui.embed.Canvas();
​this.getRoot().add(c);
qx.ui.core.queue.Manager.flush();
var canvasElement = c.getContentElement().getDomElement();

The flush is used to bring render the canvas to the DOM which creates the DOM 
element. With the canvas element you should be abel to access all the stuff you 
need.

Regards,
Martin

Am 18.09.2010 um 15:06 schrieb Bösch Luca:

> Dear list followers
> 
> I was unsuccessfully trying to get the WebGL context from qooxdoo canvas 
> objects (both qx.html.Canvas and qx.ui.embed.Canvas).
> Does anyone know how to do this? In regular JS, you’d do something like gl =  
> document.getElementsByTagName("canvas")[0].getContext("experimental-webgl");
> 
> Best regards
> 
> Luca
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to