(self)
Bring the console window to the front.
Bring the console window to the front.
Bring the console window to the front .
def bring_to_front(self):
        """Bring the console window to the front."""
        if self.console_hwnd is None:
            return

        if self.__dict__.get('minimise_override', None):
            del self.minimise_override
            self.minimise_to_tray()
        self.console_hwnd.bring_to_front()
        
        for func in self._commands['OnWindowRestore']:
            func(self)

        self.logger.info('Window restored.')
def bring_to_front ( self ) : if self . console_hwnd is None : return if self . __dict__ . get ( 'minimise_override' , None ) : del self . minimise_override self . minimise_to_tray ( ) self . console_hwnd . bring_to_front ( ) for func in self . _commands [ 'OnWindowRestore' ] : func ( self ) self . logger . info ( 'Window restored.' )