> On 10/14/11 10:04, David wrote:
> > I would exepect that creating an Fl_Group (then calling beging if needed 
> > (not sure if constructor calls) then when adding the round buttons x,y 
> > would be relative to the group not the window, but it appears to be based 
> > on the window not the group?  Is that correct?
>
>       Yes, all widget and drawing coords are relative
>       to the parent window.
>
>       A group is just a grouping widget, it does not affect
>       the coordinate space of its children.
>
>       If you want coords relative to the group, replace the
>       group with a window instead.. then coordinates will
>       be relative to the 'window-in-a-window'.

Thanks.  The only thing missing was the label wouldn't print (it must be part 
of a title bar that doesn't display). That's fine, I can adjust the items to 
add in the group x.

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to