def set_active_window_from_pane_id(self, pane_id):
assert isinstance(pane_id, int)<EOL>for w in self.windows:<EOL><INDENT>for p in w.panes:<EOL><INDENT>if p.pane_id == pane_id:<EOL><INDENT>self.set_active_window(w)<EOL><DEDENT><DEDENT><DEDENT>
Make the window with this pane ID the active Window.