If you add more and more code to your lambda _expression_ it seems to
become easier to add a static callback...
That said, if you want to close the window that contains the BtExit
button you don't need to "send" the window in the data pointer, you
can also use the window() method on the exit button which is always
in the Fl_Widget pointer, something like
Comments are owned by the poster. All other content is copyright 1998-2025 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.