I am new to fltk and do not know how to implement the following:
I'm making an application where there should be several sub widgets on
the main page, i.e. when I click a button on the main window, the
subwidget should open and when I click the button a second time, the
widget should close again.
--
Here's a simple sample code doing what you want.
--
Gonzalo Garramuño
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/643d223d-83dc-3807-fd1c-ff3c5a804456%40gmail.com.
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'.