Re: [fltk.general] how to get top most active window

2011-11-07 Thread Greg Ercolano
On 11/07/11 16:41, David wrote: > What's the best way to get the top most open window that has keyboard focus? In short, I'm thinking: Fl::focus()->window() Fl::focus() returns the current Fl_Widget with focus (if any), and Fl_Widget::window() returns the parent window.

[fltk.general] how to get top most active window

2011-11-07 Thread David
What's the best way to get the top most open window that has keyboard focus? Fl::modal() ??? Also what order is Fl::first_window() in? Z-Order (top most first or bottom most first) or created order? ___ fltk mailing list fltk@easysw.com http://lists