Ah, thanks.  I'll look into that.  Does anyone also know what the
point of the minimise button is?  All it does is hide the window, it
doesn't show up anywhere mimimised.   Is there a menubar or some
component that this goes to when minimised?  Or is the function pretty
much equivelant to the exit button?

On 6/13/07, Alex Back <[EMAIL PROTECTED]> wrote:
> 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
>

-------------------------------------------------------------------------
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

Reply via email to