First time here? Check out the FAQ!
answered Dec 9 '13
This really isn't related to OpenCV is it? The official docs for event handling in PyGTK are here: http://www.pygtk.org/pygtk2tutorial/sec-EventHandling.html There is an example at the end of the page.