Hi,

I have a fltk::PackedGroup which is filled like that:

fltk::PackedGroup *pg = new fltk::PackedGroup(0,0,100,100,"");
> pg->begin();
>     new fltk::Input(0,0,100,20,"");
>     new fltk::Input(0,0,100,20,"");
>     new fltk::Input(0,0,100,20,"");
>     new fltk::Input(0,0,100,20,"");
>     new fltk::Input(0,0,100,20,"");
> pg->end();


When I delete a child using

delete static_cast<fltk::Input>(pg->child(0));


there is no update in the GUI until a resize of the window. Calling redraw()
or relayout() for pg doesn't help either. Any idea how to get it updated
right away? Is this even a good way to delete children from a PackedGroup?

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

Reply via email to