33#include <X11/Intrinsic.h>
66 void AddMenu(
const char*,
const char*);
71 void AddButton(
const char*,
const char*,
const char*);
88 void ExitHelp()
const;
89 static void CommandEnteredCallback(Widget,XtPointer,XtPointer);
90 static void keyHandler(Widget,XtPointer,XEvent*,Boolean*);
91 static void ButtonCallback(Widget,XtPointer,XtPointer);
93 Widget form,shell,command,menuBar,text;
94 std::map<Widget,G4String, std::less<Widget> > commands;
97 G4String menu_str[6] = {
"form",
"menuBar",
"command",
98 "Clear",
"clearButton",
"text" };
void AddMenu(const char *, const char *)
G4String GetCommand(Widget)
virtual void PauseSessionStart(const G4String &)
virtual G4int ReceiveG4cout(const G4String &)
virtual G4int ReceiveG4cerr(const G4String &)
G4UIsession * SessionStart()
void AddButton(const char *, const char *, const char *)