74 void AddMenu(
const char*,
const char*);
81 void AddButton(
const char*,
const char*,
const char*);
94 void ExitHelp()
const;
95 static void CommandEnteredCallback(Widget, XtPointer, XtPointer);
96 static void keyHandler(Widget, XtPointer, XEvent*, Boolean*);
97 static void ButtonCallback(Widget, XtPointer, XtPointer);
99 Widget form, shell, command, menuBar, text;
100 std::map<Widget, G4String, std::less<Widget>> commands;
103 G4String menu_str[6] = {
"form",
"menuBar",
"command",
"Clear",
"clearButton",
"text"};