28 lines
683 B
Plaintext
28 lines
683 B
Plaintext
#
|
|
# This file permits to customize, with commands,
|
|
# the menu bar of the G4UIXm, G4UIWin32 sessions.
|
|
# It has no effect with G4UIterminal.
|
|
#
|
|
|
|
# File :
|
|
/gui/addMenu file File
|
|
/gui/addButton file Continue continue
|
|
/gui/addButton file Exit "exit"
|
|
#
|
|
# Run menu :
|
|
/gui/addMenu run Run
|
|
/gui/addButton run "beamOn 1" "/run/beamOn 1"
|
|
/gui/addButton run run1 "/control/execute defaultMacro.mac"
|
|
#
|
|
# Gps menu :
|
|
/gui/addMenu gps Particle
|
|
/gui/addButton gps "Proton" "/gps/particle proton"
|
|
|
|
/gui/addMenu gps Energy
|
|
/gui/addButton gps "60 MeV" "/gps/energy 60 MeV"
|
|
#
|
|
|
|
# Macro menu
|
|
/gui/addMenu control "Macro"
|
|
/gui/addButton control "Hadron-therapy" "/control/execute macro/hadron_therapy.mac"
|