Geant4 Cross Reference |
1 # 2 # This file permits to customize, with commands, 3 # the menu bar of the G4UIXm, G4UIQt, G4UIWin32 sessions. 4 # It has no effect with G4UIterminal. 5 # 6 7 # File : 8 /gui/addMenu g4file G4File 9 /gui/addButton g4file Exit "exit" 10 # 11 12 #icons 13 /gui/addIcon "Open MAC file" open /control/execute 14 # 15 16 # Run menu : 17 /gui/addMenu run Run 18 /gui/addButton run run "/control/execute beam.in" 19 /gui/addButton run beamOn "/run/beamOn 1" 20 # 21 22 # Gun menu : 23 /gui/addMenu gun Gun 24 /gui/addButton gun "10 keV" "/gun/energy 10 keV" 25 /gui/addButton gun "100 keV" "/gun/energy 100 keV" 26 /gui/addButton gun "1 MeV" "/gun/energy 1 MeV" 27 /gui/addButton gun "10 MeV" "/gun/energy 5 MeV" 28 /gui/addButton gun "e-" "/gun/particle e-" 29 /gui/addButton gun "proton" "/gun/particle proton" 30 # 31 32 # Viewer menu : 33 /gui/addMenu viewer Viewer 34 /gui/addButton viewer "Set style surface" "/vis/viewer/set/style surface" 35 /gui/addButton viewer "Set style wireframe" "/vis/viewer/set/style wire" 36 /gui/addButton viewer "Refresh viewer" "/vis/viewer/refresh" 37 /gui/addButton viewer "Update viewer (interaction or end-of-file)" "/vis/viewer/update" 38 /gui/addButton viewer "Flush viewer (= refresh + update)" "/vis/viewer/flush" 39 /gui/addButton viewer "Update scene" "/vis/scene/notifyHandlers" 40 #