Stan wrote:
>> In FLTK, *any* widget can have a box around itself by simply calling
>> myWidget->box(FL_SOME_BOXTYPE);
> 
> Right, but if you use FLUID to lay out the window, you can't
> prevent it (FLUID) from setting the box type to something.
> 
> I was trying to keep the appearance under the control of
> the Widget itself, but I guess that's not possible without
> abandoning FLUID altogether.

        Fluid only initializes the box type, so your widget
        can control it after the fact.

        If you're trying to make your widget define the box
        type on creation, and don't want fluid to override it,
        then override the box() method to overload one of the
        box types (or make a new one) that the method recognizes,
        and makes an exception for.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to