Tuple[int, int]: The width and height of the window.

def size(self):
        """Tuple[int, int]: The width and height of the window."""
        size = ffi.new('int[]', 2)
        lib.SDL_GetWindowSize(self._ptr, size + 0, size + 1)
        return (size[0], size[1])