Re: Is FLTK (Linux, 1.5.0) usable in batch mode (without display)?
"'Matthias Melcher' via fltk.general"
13:58 Sep 29
Yes, absolutely. Fluid is the prefect example. It's a full blown GUI app with complex dialog windows, created itself in Fluid. But if you launch Fluid with `-c filename.fl` it never opens anything related to the user interface, windows, or graphics. We took special care that it doesn't even open a display connection on X11. That way, we use Fluid in our CI script to generate code from layout.
There is on caveat on Windows though. Window application can always only bei *either* graphics apps *or* command line apps. It's a limitation of Windows. If you launch a command line app from finder, a CMD.EXE window will pop up with it. If you launch a graphics app fro the commend line, you don;t get access to stdin and stdout . Or something like that ;-)
Comments are owned by the poster. All other content is copyright 1998-2026 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.