On 25.01.2009, at 17:43, Zdravko Monov wrote:

> I wonder
> whether there is a common way to add widgets in windows, say  
> something like:

> void add_button_in_row(/*...*/); // implements the placement of a  
> button
> in a specific bar next to all currently placed there buttons

You can do a similar thing using the Fl_Pack widget.

But granted, yes, FLTK relies heavily on pixel coordinates.

It is feasible, and may be part of 1.3.1, to have a simple interface  
for automatically positioning children with in the basic widget class.  
Complex positioning widgets would a breeze to implement then.

Matthias

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


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

Reply via email to