python-gdkinput is a Python binding for the gdk_input_add and gdk_input_remove functions missing in PyGtk.