On Apr 12, 2007, at 3:01 PM, Stan wrote: > > >> I derive from an Fl_Group and >> set the positioning to "relative". > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > Sorry, what does that mean?
If you create a new widget in Fluid, using "Widget Class", it will be based on an Fl_Group. To be able to position the resulting widget anywhere in another layout, the button labeled "Relative" in the "Position:" row of the "GUI" Properties tab should be set. >> To the outside, the >> result looks like a single widget. All styles, boxes, alignments, >> etc. are preset inside >> that file. > > What file do you mean, the .fl? I tend to create a static library out of the Fluid project and link that to the final application. That way, I am less tempted to change things around all the time in the custom widget. The style information is part of the .fl file, then copied into the .cxx file and still contained in the library, or however you like to link with custom widgets. If I do want to give the user the ability to change colors, etc., I'll provide a function for that in my custom widget. ---- http://robowerk.com/ _______________________________________________ fltk mailing list [EMAIL PROTECTED] http://lists.easysw.com/mailman/listinfo/fltk

