Loading...
Searching...
No Matches
gui.mac
Go to the documentation of this file.
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# File menu :
7/gui/addMenu file File
8/gui/addButton file Quit exit
9#
10# Run menu :
11/gui/addMenu run Run
12/gui/addButton run "beamOn 1" "/run/beamOn 1"
13/gui/addButton run run1 "/control/execute run1.mac"
14#
15# Gun menu :
16/gui/addMenu gun Gun
17/gui/addButton gun "50 MeV" "/gun/energy 50 MeV"
18/gui/addButton gun "1 GeV" "/gun/energy 1 GeV"
19/gui/addButton gun "10 GeV" "/gun/energy 10 GeV"
20/gui/addButton gun "e-" "/gun/particle e-"
21/gui/addButton gun "pi0" "/gun/particle pi0"
22/gui/addButton gun "pi+" "/gun/particle pi+"
23/gui/addButton gun "neutron" "/gun/particle neutron"
24/gui/addButton gun "proton" "/gun/particle proton"
25#
26# Viewer menu :
27/gui/addMenu viewer Viewer
28/gui/addButton viewer "Set style surface" "/vis/viewer/set/style surface"
29/gui/addButton viewer "Set style wireframe" "/vis/viewer/set/style wireframe"
30/gui/addButton viewer "Refresh viewer" "/vis/viewer/refresh"
31/gui/addButton viewer "Update viewer (interaction or end-of-file)" "/vis/viewer/update"
32/gui/addButton viewer "Flush viewer (= refresh + update)" "/vis/viewer/flush"
33/gui/addButton viewer "Update scene" "/vis/scene/notifyHandlers"
34#
35# To limit the output flow in the "dump" widget :
36/run/printProgress 100
37#

Applications | User Support | Publications | Collaboration