parameters: (self, options)
docstring: Initializes this widget,
          kwargs can contain 'cmd_line_options' with a argparse namespace of options
          that were parsed on the command line.
docstring_summary: Initializes this widget,
          kwargs can contain 'cmd_line_options' with a argparse namespace of options
          that were parsed on the command line.
docstring_tokens: Initializes this widget kwargs can contain cmd_line_options with a argparse namespace of options that were parsed on the command line .
function: def initialize(self, options):
          """
          Initializes this widget,
          kwargs can contain 'cmd_line_options' with a argparse namespace of options
          that were parsed on the command line.
          """
          super(InputFileEditorWithMesh, self).initialize(options)
          self.setViewerEnabled(False)
  
          # Locate input file in arguments without command
          if not options.input_file and options.arguments:
              for arg in options.arguments:
                  if arg.endswith(".i"):
                      options.input_file = os.path.abspath(arg)
                      break
  
          # Load the supplied input file.
          if options.input_file:
              p = os.path.abspath(options.input_file)
              self.setInputFile(p)
              self.inputFileChanged.emit(p)
function_tokens: def initialize ( self , options ) : super ( InputFileEditorWithMesh , self ) . initialize ( options ) self . setViewerEnabled ( False ) # Locate input file in arguments without command if not options . input_file and options . arguments : for arg in options . arguments : if arg . endswith ( ".i" ) : options . input_file = os . path . abspath ( arg ) break # Load the supplied input file. if options . input_file : p = os . path . abspath ( options . input_file ) self . setInputFile ( p ) self . inputFileChanged . emit ( p )