31 #if defined(G4UI_BUILD_XM_SESSION) || defined(G4UI_USE_XM)
35 #include <X11/Intrinsic.h>
68 void AddMenu(
const char*,
const char*);
73 void AddButton(
const char*,
const char*,
const char*);
82 void SessionTerminate();
92 Widget form,shell,command,menuBar,text;
93 std::map<Widget,G4String, std::less<Widget> > commands;
94 static void CommandEnteredCallback(Widget,XtPointer,XtPointer);
95 static void keyHandler(Widget,XtPointer,XEvent*,Boolean*);
98 static void ButtonCallback(Widget,XtPointer,XtPointer);