

def open(self):
    ' Creates the toolkit-specific control for the widget. '
    super(MSplashScreen, self).open()
    if self.show_log_messages:
        self._log_handler = SplashScreenLogHandler(self)
        self._log_handler.setLevel(self.log_level)
        logger = logging.getLogger()
        logger.addHandler(self._log_handler)

dataset/ETHPy150Open enthought/pyface/pyface/i_splash_screen.py MSplashScreen.open/original