Re: [gtk-list] Re: Help! (CList strangeness)
- From: Simon Gornall <simon unique-id com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: Help! (CList strangeness)
- Date: Sun, 19 Mar 2000 23:37:12 +0000
Paul Barton-Davis wrote:
>
> >I have a problem with a CList behaving very strangely, the titles
> >on the top of the CList will cycle through a 'blank' => 'text' =>
> >[next title] loop whenever an entry is added to the list (!)
>
> .
> .
> .
>
> >... and I call the addClip routine from a thread as below:
>
> Danger Will Robinson! Do you really mean "from a thread" ? You can't
> make calls to GTK functions from multiple threads without taking more
> care than I see apparent here. At the very least, you need
> GTK_THREADS_ENTER and GTK_THREADS_LEAVE macros surrounding the block
> of GTK calls.
Yeah, I figured that out in the end. It made me re-implement it as a
GtkList rather than a CList as well, which was what was needed anyway
:-)
Thanks for the help though,
ATB,
Simon.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]