

def _propsetfullscreen(self, value):
    if (value and (not self._fullscreen)):
        self._fullscreen = True
        self._windowsurface = pygame.display.set_mode((self.pixelwidth, self.pixelheight), pygame.FULLSCREEN)
    elif ((not value) and value._fullscreen):
        self._fullscreen = False
        self._windowsurface = pygame.display.set_mode((self.pixelwidth, self.pixelheight))

dataset/ETHPy150Open asweigart/pygcurse/pygcurse/__init__.py PygcurseWindow._propsetfullscreen/VarMisuse@65/84 `self`->`value`