Re: How to destroy a window?



>  I have an app that has multiple top level windows of equal importance.
>  I want to be able to destroy each window individually. When the last window
>  closes, the app should exit.  How do I do this?

What about keeping a counter on the number of toplevel windows you
have around.  When the counter drops to zero, you exit the program.

  Quartic



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]