I have a GTK+ application with a GtkTextBuffer. It uses several worker threads which perform some lengthy operations. Those threads can report their progress in a textual format. I want to show details on how a worker thread is performing. Can you please tell me how to receive input from a worker thread?
I thought that I can emit a signal "insert-text" from the worker thread, but cannot find a relevant example while googling. Any help is much appreciated.
g_signal_emit()org_signal_emit_by_name(). The signal handler is called from the main thread with the GDK lock held.