DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2480
Version: 1.3-feature


Including your description of what the proposed client_area() method
does here, so that the folks who write the doxygen docs will know
what it does.

---- snip
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);
---- snip


Link: http://www.fltk.org/str.php?L2480
Version: 1.3-feature

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

Reply via email to