Skip to main content
3. General Technical/Implementation issue
3.1 How to write Messengers which can use GUI menus
- add parameter candidate (simplified example)
command = new G4UIcommand (
"/vis/create_view/new_graphics_system", this);
"Creates a new scene and a new view of a new graphics system;"
param = new G4UIparameter("Graphics system selector",'s',true);
param -> set_defaultValue ("");
"DAWN OGLIX OGLIXm OGLSX OGLSXm OI RayX
param -> set_parameterCandidate(candidate);
- You can rewrite above example using template
G4VisManRegisterMessengers.cc
(Makoto Asai will report on this in the later session)