Article #376: Waiting for a Window to Close

  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

Return to Articles | Show Comments | Submit Comment ]

Article #376: Waiting for a Window to Close

Created at 10:59 Jan 29, 2005 by mike

The easiest way to wait for a window to close is to use the Fl_Window::shown() and Fl::wait() methods in a while loop:

while (window->shown()) Fl::wait();

Download | Home Page | Listing ]


Comments

Submit Comment ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2015 by Bill Spitzak and others. This project is hosted by Seriss Corporation. Please report site problems to 'erco@seriss.com'.