FLTK logo

[fltk.general] Re: FLUID custom widget: the generated code seems troublesome

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Library      Forums      Links      Apps     Login 
[  All Forums  |  Back to fltk.general  ]
 
[ Previous Message ] [ New Message | Reply ] [ Next Message ]

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.

--
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 visit https://groups.google.com/d/msgid/fltkgeneral/851aa117-c4b8-4685-933e-8d1408c28a10n%40googlegroups.com.
[ Direct Link to Message ]
 
     
[ Previous Message ] [ New Message | Reply ] [ Next Message ]
 
 

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'.