On Apr 11, 2007, at 10:11 PM, Stan wrote:

> Thanks for all the helpful suggestions.
> (...)
> Thus, solutions involving extra code in fluid, or setting
> things later on, are sort of anti-thematic for me.

You can create a whole tre of widgets in Fluid if you base it on a  
class. I do that a lot and it works very well. I derive from an  
Fl_Group and set the positioning to "relative". To the outside, the  
result looks like a single widget. All styles, boxes, alignments,  
etc. are preset inside that file.

Now from within the application, I create a widget that is most  
similar to the above custom entity. Then I change the "class" field  
to use my custom class and all is fine, including styles, colors, and  
other settings.

----
http://robowerk.com/


_______________________________________________
fltk mailing list
[EMAIL PROTECTED]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to