def release_keyboard(self, *largs): super(WindowSDL, self).release_keyboard(*largs) sdl.hide_keyboard() self._sdl_keyboard = None return True