I am really new to GTK (having come from a C#/Windows background).
How do I ask GTK (from an arbitrary thread) to signal on its main thread/loop? I haven’t been able to find the correct documentation for this. I don’t care much for sending data with the signal, and nor does it have to be a custom signal (I have my own message passing queue).
If you just need to wake up the main loop (and you have a source that is already processing events with your custom message queue), you can just do something like:
g_main_context_wakeup (g_main_context_default ());
Otherwise look at something like
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.