Hallo Marco!

Please do always send E-Mails to the qooxdoo-development mailinglist. The more people get your E-Mails the more likely someone could help you. ;-)

Animation on a widget-level is not yet ready in qooxdoo. At the moment we only support animation on DOM elements. However, you _can_ use qooxdoo animation to animate the DOM elements which are created by qooxdoo.
Please have a look at a mail I sent a few days ago: 
http://n2.nabble.com/Subclassing-windows-with-animations--tp2174035p2180606.html

Just a hint for your usage of the Window widget: why do you destroy it if you just want to close it? The Window has a close() and re-creating widgets is costly.

Kind regards,
Jonathan


On 21.01.2009, at 11:51, Marco Vecchi wrote:


hi jonathan,
how i do an animation of grow (for appear) and shrink (for closure) at my window!
i post my code of example..

--snip--
__addEvCamConfSet : function(label)
    {
      var win1 = new qx.ui.window.Window(label);
      win1.setLayout(new qx.ui.layout.Canvas());
      win1.setAllowMaximize(false);
      win1.setAllowMinimize(false);
      win1.setResizable(false);
      win1.add(this.__getTabView1());
      win1.center();
      win1.open();

      win1.addListener("close", function(e) {
       win1.destroy();
      });
      win1.addListener("move", function(e) {
this.debug("Moved to: " + e.getData().left + "x" + e.getData().top);
      });
--snip--

by mr qooxdoo :)

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to