|
Hi all,
I'm developing an application that uses another event driving library (PJSIP) and I'm experiencing some problems.
Seams that I shouldn't call GTK+ funcs from other threads than the main gtk thread, so I did a hack with g_timeout_add() to get over this.
But now my app are showing some weird behaviour, things like showing the window but 'sometimes' not the inner widgets (yes, I'm using show_all()) even thou I know the code is being executed.
So my question is: What is the right way to tell GTK+ apps that another (not GTK) events has occurred?
I like to send some kind of "signal" in my code and then handle this signal on the gtk main thread. I think this might solve my problems...
Thanks.
|