I want to add Fl_Groups to Fl_Tabs dynamically and I need to know the  
Fl_Tab client area available to resize the Fl_Group properly but I can't  
find any method that tell me it.

Using fluid there is an option to make standalone widget classes relative  
and that is only hint for fluid to calculate the relative coordinates at  
code generation time.

Would be nice to have this functionality builtin on Fl_Tabs or better yet  
on Fl_Group, something like:

Fl_Group::add(fl_widget, bool relative=false);
Fl_Group::client_area(int &w, int &h);

Something like the opposite of my proposal:

/**
Returns the full rectangle occupied by a widget plus it's external label  
if any
*/
   void get_full_size(int &full_x, int &full_y, int &full_w, int &full_h);
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to