matthiasm wrote:

> Nobody likes fixing bugs vs. adding new features, and I really
> really need a table and a tree view in a nicely integrated way

What about Erco's Fl_Table and Fl_Table_Row widgets? I have inherited from
his Fl_Table_Row and created a Fl_Table_Group. As the name suggests, it's
like Fl_Group with the exception that the children widgets are arranged
into rows and columns. Simply do begin(); create the widgets, followed by a
end(); The Fl_Table_Group will arrange them into a tabular format.

Download the source to the flmtp program and you will see the
Fl_Table_Group.cpp and Fl_Table_Group.h. The one downside to using a
Fl_Group concept for a table is when you have a lot of them. My current
Fl_Table_Group implementation dynamically expands the columns to fit the
contents of the children in the column. This is really slow when you have
2500+ widgets that make up the table.


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

Reply via email to