[fltk.general] Custom widgets in FLUID

GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Custom widgets in FLUID "anmol.... 12:59 May 05 top right image
 
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 ]
 
bottom left image   bottom right image
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2021 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.