For me this doesn't work, my application crash and this solution doesn't  
call the destructor of the windows and that can lead to undesirable  
consequences.

------
     void on_close(){
         for(Fl_Window *flw = Fl::first_window(); flw; flw =  
Fl::next_window(flw)){
              if(flw) flw->hide();
         }
         //hide();
         //Fl::delete_widget (this);
     }
----

En 18/11/2010 11:53:36, MacArthur, Ian (SELEX GALILEO, UK)  
<[email protected]> escribió:

> Fl::first_window()


-- 
Usando el revolucionario cliente de correo de Opera:  
http://www.opera.com/mail/
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to