I had a problem with GTK+. I had a program that I used for my robot, I wanted to show an image respect to my robot state beside execution of my robot code, but GTK had a main loop that when I opened a window to showing image, it locked and didn't execute the rest of code!
So I am interested to know how opencv works? can I show an image in my program and other parts of program work beside it(I mean the image is shown inside the display and robot works and if it changed it's state the image will update )