Re: [fltk.general] subwidget

GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
Previous Message ]New Message | Reply ]Next Message ]

Re: subwidget gga 04:39 Oct 23 top right image

El 23/10/20 a las 06:11, Link Smith escribió:

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
To view this discussion on the web visit
Direct Link to Message ]
bottom left image   bottom right image
Previous Message ]New Message | Reply ]Next Message ]

Comments are owned by the poster. All other content is copyright 1998-2021 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to ''.