On Oct 28, 2007, at 3:57 PM, <[EMAIL PROTECTED]> <[EMAIL PROTECTED] 
 > wrote:

>   MyClass::MyClass(int x, int y, int w, int h, const char *l)
>   : Fl_Group(x, y, w, h, l)
>  {
>    begin();
>
>    createBox();
>
>    end();
>  }
>   ...
>
> since widgets are created throught a function the thing I'm  
> wondering is:
> Do the Fl_Box widgets are considered as added to the group or
> should I explicitly use the add() function for each Fl_Box widget
> created in my member function ?


They are added to the group automatically. That's what the begin() is  
all about.

Matthias

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


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

Reply via email to