Re: [pygtk] Use of gtk.threads_enter()

2003-01-28 Thread James Henstridge
Pablo Endres wrote: Hi Guys, I've been debugging an app and I think the problem comes from un inapropriate use of this insctruccion. I've checked around and found very little documentation about it. Can anyone point me out on the correct use of this instrction: when & why should I use i

Re: [pygtk] Use of gtk.threads_enter()

2003-01-24 Thread Oistein Aanensen
Use gtk.threads_enter() when you are inside a thread to every call to gtk. Use it only in pair with gtk.threads_leave() when you are finished interogating with gtk. Why: Else will the program crash with segfault or X11 async. Øistein On Fri, 2003-01-24 at 14:25, Pablo Endres wrote: > > Hi

[pygtk] Use of gtk.threads_enter()

2003-01-24 Thread Pablo Endres
Hi Guys, I've been debugging an app and I think the problem comes from un inapropriate use of this insctruccion. I've checked around and found very little documentation about it. Can anyone point me out on the correct use of this instrction: when