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

Method ButtonCallback

source/interfaces/implementation/src/G4UIXm.cc:364–372  ·  view source on GitHub ↗

/

Source from the content-addressed store, hash-verified

362}
363/***************************************************************************/
364void G4UIXm::ButtonCallback(Widget a_widget, XtPointer a_tag, XtPointer)
365/***************************************************************************/
366/*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
367{
368 G4UIXm* This = (G4UIXm*)a_tag;
369 if (This->fHelp == true) return; // Disabled when in help.
370 G4String ss = This->GetCommand(a_widget);
371 This->ApplyShellCommand(ss, exitSession, exitPause);
372}
373/***************************************************************************/
374/***************************************************************************/
375/***************************************************************************/

Callers

nothing calls this directly

Calls 2

ApplyShellCommandMethod · 0.80
GetCommandMethod · 0.45

Tested by

no test coverage detected