Original Post
Hi all. Newbie question. I have piece of a long C++ algorithm. i would like to create a GUI for it using Python. I've played around a bit with boost::python, and it seems to work nicely. My problem is this: I can call the wrapped C++ functions with ease from the python script, however, sometimes i need the C++ code to interact with the GUI. For example i would like the C++ code to be able to update an image in the GUI or to print some text. I do not know how to do so. I guess i could break stuff to smaller functions and let python call each of them and use their returned values to update the interface, however, i would like to make it more of an event driven design. In addition, in my particular case, the GUI is for a debug purposes. Making the C++ code to interact with the GUI, will save me lots of development time. is there an elegant method to accomplish that? thanks all.