Hi, FrozenDice wrote: > Is there a way to assign an event to the minimise and close buttons on > a Window component? Currently this is not supported. There already event listeners on each button which perform some actions (and stop the further event propagation).
The best way would be that you derive the window class and overwrite the event listener methods yourself. Just take a close look at the window implemenation. The interesting methods for you are probably * _onmaximizebuttonclick * _onminimizebuttonclick * _onclosebuttonclick The only drawback will be that you have to copy the content of the methods completely (to keep the window instance working). Hope that helps, Alex ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel