Re: Creating threads within widget draw routines ..



On Mon, Nov 18, 2002 at 10:08:31PM -0800, The Surprises wrote: 
> Looks like the GdkDrawable passed into the draw routine is only
> temporary and goes away after the draw routine completes. 

Yup.

>  Is there a
> more reliable method of drawing the canvas item from within a thread?

Unfortunately, libgnomecanvas is not threadsafe or even thread-aware.

GTK is thread-aware but requires explicit locking; the FAQ has some
discussion of this, and the reference manual may as well.



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