Albrecht Schlosser wrote: > Domingo Alvarez Duarte wrote: > >> Good point, I didn't know the existence of Fl_Widget::window() it does >> what I was looking for, and is implemented in a similar way. > > Please note: you must also call this in a loop, if your widget can be > in a subwindow, because the first call would return the subwindow. > > Albrecht
Thanks to point it, I'll preserve my Fl_Widget::parent_root() as it goes to the root of all parents without stop on the middle windows. _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
