Re: FLUID custom widget: the generated code seems troublesome
S ET
14:46 Sep 29
Yes, this solves the problem and avoid swapping code downstream.
Thank you very much.
Le mardi 29 septembre 2026 à 15:49:35 UTC+2, Matthias Melcher a écrit :
In "Extra Code", type the full statement: #include "TestWidget.h" . Fluid will recognize that this is an include statement and put it in your header file. If you have multiple widgets, Fluid will emit the include statement only once.
If you want more control, add a declaration node at the beginning and put your include statement there. You can the choose if you want it in the header or source file.
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'.