def key_pressed(self, widget, data):
        if data.keyval == gtk.keysyms.Escape:
            self.rightpanel.hide()
Function hooked to key pressing for the whole window.
dataset/ETHPy150Open Morgawr/gogonlinux/gog_utils/gog_gui.py/GogTuxGUI.key_pressed