Quick redraw in a plot



  Hi,

  I creating something like a osciloscope, with gtk on Linux.
  I've created a plotting widget to plot the data collected. So, I have to redraw this plotting widget very 
quickly to show the data (witch changes very quickly).
  There is one thread (separeted form the main thread) wich do the data acquisition, and then call 
gtk_widget_queue_draw(xyplot) to redraw the widget. 
  But there is one problem, sometimes, when I call this function the widget is not redrawn.. I think the main 
loop doesn't process it. So is there a way that I can be sure that I'm redrawing the widget? and do it in a 
very high frequency?

  Thanks,
  Alexandre P. Bueno.,

                
---------------------------------
 O Yahoo! está de cara nova. Venha conferir!


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]