How to update both the Console and the GTKMM gui window after running other functions

view story

http://www.linuxquestions.org – Can someone help to clear up the confusion of how to update a gui window without user input. In other words, I would like to be able to output text to either or both the console our the gui window. At present I can call the gui window (Window with a label for example) and output the initial text. However, the process doesn't return to my c++ code until the window closes. I'm trying to figure out how to (or where to have my code) for updating the gui screen before the gui window exits. This is an example: Code: #include <gtkmm.h> #include <iostream> using namespace std; i (HowTos)