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

Selection on a CList. (Re:Interesting problem?)




I posted this in the gtk-list and received no responses.
I'm posting it here, hoping that someone may be able to
help.

I'm also going to explain it diffently so it won't be
so confusing.

I have a CList, that when I double click on an item
that the CList will be cleared, replaced, and a new
selection will be made.  

The problem is that the double click places a 
selection callback that gets called (sometimes)
after the callback of the double click.  
The double click callback does all the work
to clear/replace the list and make the selection.
But the selection callback selects the item at
the location the double click was done.

I tried using a global to check for this but it was
hard since sometimes this does not happen?!

What I really need is a way to flush all callbacks
and events without executing them.

TIA 
Steve.



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