On Aug 13, 2007, at 9:35 PM, Ben wrote:

> void runbutt_cb(Fl_Widget *runbutt, void *data)
> {
>       textout->insert("Checking packages for compile errors...\n");

insert:
          Fl::flush();
to update the display only when not returning from the callback right  
away

>       const char* cmd = "some system command";
>       makestatus = system(cmd);

insert:
          Fl::flush();
to update the display only when not returning from the callback right  
away

>       if (makestatus == 0) textout->insert("\nNo compiling errors found. 
> \n");
>       else textout->insert("\nErrors found.\n");
> }
>

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


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

Reply via email to