rv_input.py rewrite from wxPython to PyGTK