Albrecht Schlosser wrote: > I propose to add these two virtual methods to Fl_Widget: > > [1] virtual int Fl_Widget::is_group() > [2] virtual int Fl_Widget::is_window()
... and the winner is: virtual Fl_Group *Fl_Widget::as_group() const; virtual Fl_Window *Fl_Widget::as_window() const; The majority voted for the pointer return value and the renamed versions with "as_" instead of "is_". If nobody objects within the next one or two days I'll commit this into svn probably on Friday (after the snapshot) or the coming weekend. Thanks to all for opinions and comments! Albrecht _______________________________________________ fltk-dev mailing list fltk-dev@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-dev