The constructor should have the following arguments:
This will allow the class to be used in FLUID without problems.
>>>
I have a Double_Window() -> Tabs () -> Group () inside FLUID. When I try to add anything from New -> Code it automatically adds it outside the window.
The only widgets that can be added via FLUID are the pre-defined widgets inside the New -> (NOT Code)
Inside the FLUID example, we use the CubeView class but again, all the widgets added are the pre-defined widgets in FLUID.
Am I missing something that will allow me to add custom widgets ?
Similar to other widgets, click FLUID menu
New/Other/Boxto add a custom widget to the window. It appears in the design view as a square box.
In the properties window for our custom widget,
Enter the name of the class, e.g. Drawing2D in the Class: field.
In the Extra Code: field enter #include "path/Drawing2D.h" to make sure that the class header is included.