Re: [gtk-list] RE: Drawing application
- From: "Nilton S. Ramos Quorin" <nilton eletr ufpr br>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] RE: Drawing application
- Date: Wed, 23 Feb 2000 11:18:01 -0400
Hi,
The code for reading the values given by the sensor was written in C, before i
started on gtk.
It just reads a value from a digital oscilloscope, through the PC serial port,
and stores it in a float variable.
Anyway, how do i set the function priority?
Perhaps i should use GtkPlot, as suggested by Adrian Feiguin. Thanks,
Nilton
"Arjan J. Molenaar" wrote:
> >
> > Hello,
>
> Hi,
>
> > I'm writing an application for magnetic field mapping. I'd
> > like to know
> > if there is some way of stopping a background callback and
> > then plotting
> > some points on a pixmap on a drawing area. My code reads a value given
> > by a sensor, and is then supposed to plot it on the pixmap. But it
> > doesn't. It only plots an array of points sometime later or when the
> > mapping is done.
> >
>
> It's hard to see what you mean... So you have the sensor connected using
> gdk_input? If so, you can give that function a lower priority. (Drawing
> has a high priority by default IIRC.)
> You could also trigger a sensor-read on a timeout.
>
> Hope this helps...
>
> regards,
>
> Arjan
>
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]