code: def set_console(self, attrs=None, on_stderr=False):
      if attrs is None:
          attrs = self.get_attrs()
      handle = win32.STDOUT
      if on_stderr:
          handle = win32.STDERR
      win32.SetConsoleTextAttribute(handle, attrs)
  
file_path: pyqtgraph/pyqtgraph/util/colorama/winterm.py
imports: from .None import win32
label_desc: Use image node_id 8 for calling the WinTerm obj's underlying member method code with example usage: obj.set_console(attrs, on_stderr) without return types