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 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 it?
> 
>       thanks in advance
> 
>       Pablo
> 
> 
> -- 
>                 Muchas personas creen que piensan,
>                 cuando en realidad sólo están reordenando sus
>                 prejuicios.
>                                                             - William James
> 
> Pablo Endres
> Centro de Datos
> 
> GSM:  +584127347610
> 
> 
> _______________________________________________
> pygtk mailing list   [EMAIL PROTECTED]
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to