def focus_sheet(self, sheet): if sheet: sublime_api.window_focus_sheet(self.window_id, sheet.sheet_id)