def window(self): window_id = sublime_api.sheet_window(self.sheet_id) if window_id == 0: return None else: return Window(window_id)