[fltk/fltk] Question: Can I run the GUI program after Fl::run() returned? (#265)
Lucy2003
Aug 09, 2021
Hi,
I'm trying to build a GUI program with FLTK 1.3.5 and Go 1.16.3.
I have generated a project by FLUID,and added some interface functions so that I can static link them with CGO and use them in Go.
The question is that,I have no idea about how FLTK manage memory of widgets and windows,so that I'm not sure whether I should delete all widgets or not when the Fl::run() returned.
I can't find any method like Fl::end() in the document,and the document suggested that the program should return after Fl::run() returned.If I don't follow the document,will it cause memory leak?
Thanks.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
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'.