32 #if defined(G4UI_BUILD_XM_SESSION) || defined(G4UI_USE_XM)
36 #include <X11/Intrinsic.h>
69 void AddMenu(
const char*,
const char*);
74 void AddButton(
const char*,
const char*,
const char*);
83 void SessionTerminate();
93 Widget form,shell,command,menuBar,text;
94 std::map<Widget,G4String, std::less<Widget> > commands;
95 static void CommandEnteredCallback(Widget,XtPointer,XtPointer);
96 static void keyHandler(Widget,XtPointer,XEvent*,Boolean*);
99 static void ButtonCallback(Widget,XtPointer,XtPointer);