From the documentation,
https://www.fltk.org/doc-1.3/subclassing.html
>>>
The constructor should have the following arguments:
MyClass(int x, int y, int w, int h, const char *label = 0);
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 ?
--
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 on the web visit https://groups.google.com/d/msgid/fltkgeneral/da5212e6-fe6f-4308-bbc3-945a05d837c5n%40googlegroups.com .
[ Direct Link to Message ]