MCPcopy Create free account
hub / github.com/Geant4/geant4 / GetToolTips

Method GetToolTips

source/interfaces/implementation/src/G4UIWin32.cc:970–1000  ·  view source on GitHub ↗

/ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/

Source from the content-addressed store, hash-verified

968/****************************************************************************************************/
969/*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
970G4String G4UIWin32::GetToolTips(G4int idButton)
971{
972 switch (idButton) {
973 case ID_OPEN_MACRO:
974 return "Open and execute macro file";
975
976 case ID_SAVE_VIEWER_STATE:
977 return "Save viewer state";
978
979 case ID_ZOOM_IN:
980 return "Zoom in";
981
982 case ID_ZOOM_OUT:
983 return "Zoom out";
984
985 case ID_RUN_BEAMON:
986 return "Beam on (one particle)";
987
988 case ID_HELP_ABOUT:
989 return "About G4UIWin32";
990
991 case ID_LOG_CLEAN:
992 return "Clean log";
993
994 case ID_LOG_SAVE:
995 return "Save log";
996
997 default:
998 return "";
999 }
1000}
1001/*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
1002/****************************************************************************************************/
1003

Callers 1

MainWindowProcMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected