def _on_char(self, event): """Handles all keyboard shortcuts.""" guiutil.dispatch_keypress(self._get_actions(), event)
def on_char(self, event): if osutils.is_msw(): self.force_alt_key_to_work_correctly(event) guiutil.dispatch_keypress(self.get_actions(), event)