On 8 Oct 2011, at 10:30, Albrecht Schlosser wrote:

> If you need to close more than
> one other window, then you may need to use an array of pointers in
> the user_data argument of the callback or use some other known
> (maybe global) variables.

Though if there are multiple windows, I tend to favour using 
Fl::first_window(); and sometime Fl::next_window(); to just walk along the list 
of shown windows and hide them all.

That is "easier" in the sense that I don't need to keep track of any windows, 
just use the fltk hooks to get them and hide() them...





_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to