Hi Jean-Noel, On Wednesday 10 June 2009 Jean-Noël Rivasseau wrote: > I am however still stuck trying to do a particular animation. I basically > want to do a "move" effect, but this move effect can be interrupted before > the end. In that case I call end() on the effect, but I then want the > widget to return to its original position (which is modified by the low > level move effect). > > I call scheduleLayoutUpdate() on the widget. However, is there an event I > can observe in that case to know when the update is actually done? I need > this for what I want to do. Yes, there are events. If you call "scheduleLayoutUpdate" then qooxdoo looks at all widgets if an update is necessary. If there are updates in position a "move" event is fired at the widget (if a listener is attached). If there are updates in size a "resize" event is fired at the widget (again: if a listener is attached)
Hope this helps, Alex ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
