parameters: (self, printPipeTypes = None)
docstring: Creates the default GraphicsPipe, which will be used to make
          windows unless otherwise specified.
docstring_summary: Creates the default GraphicsPipe, which will be used to make
          windows unless otherwise specified.
docstring_tokens: Creates the default GraphicsPipe which will be used to make windows unless otherwise specified .
function: def makeDefaultPipe(self, printPipeTypes = None):
          """
          Creates the default GraphicsPipe, which will be used to make
          windows unless otherwise specified.
          """
          assert self.pipe is None
  
          if printPipeTypes is None:
              # When the user didn't specify an explicit setting, take the value
              # from the config variable. We could just omit the parameter, however
              # this way we can keep backward compatibility.
              printPipeTypes = ConfigVariableBool("print-pipe-types", True)
  
          selection = GraphicsPipeSelection.getGlobalPtr()
          if printPipeTypes:
              selection.printPipeTypes()
          self.pipe = selection.makeDefaultPipe()
          if not self.pipe:
              self.notify.error(
                  "No graphics pipe is available!\n"
                  "Your Config.prc file must name at least one valid panda display\n"
                  "library via load-display or aux-display.")
  
          self.notify.info("Default graphics pipe is %s (%s)." % (
              self.pipe.getType().getName(), self.pipe.getInterfaceName()))
          self.pipeList.append(self.pipe)
function_tokens: def makeDefaultPipe ( self , printPipeTypes = None ) : assert self . pipe is None if printPipeTypes is None : # When the user didn't specify an explicit setting, take the value # from the config variable. We could just omit the parameter, however # this way we can keep backward compatibility. printPipeTypes = ConfigVariableBool ( "print-pipe-types" , True ) selection = GraphicsPipeSelection . getGlobalPtr ( ) if printPipeTypes : selection . printPipeTypes ( ) self . pipe = selection . makeDefaultPipe ( ) if not self . pipe : self . notify . error ( "No graphics pipe is available!\n" "Your Config.prc file must name at least one valid panda display\n" "library via load-display or aux-display." ) self . notify . info ( "Default graphics pipe is %s (%s)." % ( self . pipe . getType ( ) . getName ( ) , self . pipe . getInterfaceName ( ) ) ) self . pipeList . append ( self . pipe )