Re: [gtk-list] Drawing application





On Wed, 23 Feb 2000, Nilton S. Ramos Quorin wrote:

> Hello,
> 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.
> 

Hi Nilton. Maybe, you should think about using gtkplot
(http://magnet.fsu.edu/~feiguin/gtk). It will make thing easier for you.
On the other hand, the GTK tutorial has some very nice examples of how to
drawing on a drawing area or pixmap, and the scribble program.
Regards,
<ADRIAN>



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