Re: Threads !!!

I had no problems with gtk, when i am using them within a thread , by 
enclosing them within gdk_threads_enter and gdk_threads_leave.

But when i am using the gdk drawing functions like gdk_draw_line, 
gdk_draw_pixmap ...., i am gettting sync errors. How can i overcome this ?


On Wed, 1 May 2002, James Henstridge wrote:

> Anil wrote:
> >Hello !!!
> >	If i happen to create a new thread using POSIX threads, how should 
> >i handle the widget functions (drawing primitives) within the thread. X 
> >Errors are creeping in, when i am trying to do so. Are there any tutorials 
> >or docs regarding this.
> >  
> >
> This is covered in the GTK+ FAQ at
> James.


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