parent()->redraw() works! thank you so much! > On 26.11.2012 17:48, David Allen wrote: > > i have a status bar that is just an Fl_Box that shows its label. i > > have an update function that calls copy_label and redraw. when i call > > the update function, the change is not immediate. How can i make it > > so? > > Not enough information, trying to help anyway... > > Try adding (or using instead) redraw_label() which would draw > the label even outside your box (if this is the case). If this > doesn't help, try parent()->redraw(). Otherwise, please show > us more of your widget hierarchy and geometry. It should simply > work, if your label is inside the box... > > One more question: what does "not immediate" mean? A timed delay, > or do you have to move or click the mouse, or ... ? > > -- > > Albrecht
_______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

