Triggering a callback/event from another thread



Hi
 
I have a main thread that runs all my gtk stuff, and a second thread that does processing.
 
From the second thread, how can I cause an event/signal to make a callback function execute in the gtk 
thread?
For example I have a callback function to update a progress bar. How can I cause it to execute from my other 
thread?
 
I am using gtk+ with mingw on windows xp.
 
Thanks
 
_________________________________________________________________
It's simple! Sell your car for just $30 at CarPoint.com.au
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fsecure%2Dau%2Eimrworldwide%2Ecom%2Fcgi%2Dbin%2Fa%2Fci%5F450304%2Fet%5F2%2Fcg%5F801459%2Fpi%5F1004813%2Fai%5F859641&_t=762955845&_r=tig_OCT07&_m=EXT


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