Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
pyG4UIterminal Namespace Reference

Functions

void StartUISession ()
 

Function Documentation

void pyG4UIterminal::StartUISession ( )

Definition at line 46 of file pyG4UIterminal.cc.

References BLUE, and RED.

Referenced by export_G4UIterminal().

48 {
49  if (session == 0 ) {
50  G4UItcsh* tcsh= new
51  G4UItcsh("g4py(%s)[%/]:");
52 
53 #if G4VERSION_NUMBER >= 900
54  session= new G4UIterminal(tcsh, false);
55 #else
56  session= new G4UIterminal(tcsh);
57 #endif
58  tcsh-> SetLsColor(BLUE,RED);
59  }
60 
61  session-> SessionStart();
62 }