Re: [gtk-list] using pthread and gtktext widget



>Hi,
>
> [skipped]
>
>Any idea?  Or I have to set up a pipe between the two threads and have 
>the main thread calls all the GUI function like gtk_text_insert. :-(


    The GTK+ FAQ on www.gtk.org provide some useful informations about 
    threads and GTK+ (Tony rewrote the 'Is GTK+ thread safe?' article, 
    and there is a pointer o GPK (for instance 
        http://www.humanfactor.com/gpk/)
    which presents an add-on that allows thread-safe access to GTK+).

    Hope this helps,

    Yours,

Emmanuel

>
>Thank you.
>
>Adrian
>




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