def _current_page_changed(self, old, new):

        if old is not None:
            old.on_trait_change(
                self._on_page_complete, 'complete',remove=True
            )

        if new is not None:
            new.on_trait_change(self._on_page_complete, 'complete')

        if self.next_controller is not None:
            self.next_controller.current_page = new

        self._update()

        return
Called when the current page is changed.
dataset/ETHPy150Open enthought/pyface/pyface/wizard/chained_wizard_controller.py/ChainedWizardController._current_page_changed