RE: [gtk-list] Drawing application
- From: "Arjan J. Molenaar" <A J Molenaar xirion nl>
- To: "'gtk-list redhat com'" <gtk-list redhat com>
- Subject: RE: [gtk-list] Drawing application
- Date: Tue, 29 Feb 2000 14:31:07 +0100
>
> 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]