Quick redraw in a plot
- From: Alexandre <alpebu yahoo com br>
- To: gtk-app-devel-list gnome org
- Subject: Quick redraw in a plot
- Date: Wed, 23 Aug 2006 11:40:52 -0300 (ART)
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]