(self)
Return a context manager that enters fullscreen mode while inside it
        and restores normal mode on leaving.
Return a context manager that enters fullscreen mode while inside it
        and restores normal mode on leaving.
Return a context manager that enters fullscreen mode while inside it and restores normal mode on leaving .
def fullscreen(self):
        """Return a context manager that enters fullscreen mode while inside it
        and restores normal mode on leaving."""
        self.stream.write(self.enter_fullscreen)
        try:
            yield
        finally:
            self.stream.write(self.exit_fullscreen)
def fullscreen ( self ) : self . stream . write ( self . enter_fullscreen ) try : yield finally : self . stream . write ( self . exit_fullscreen )