31 #if defined (G4VIS_BUILD_OPENGLXM_DRIVER) || defined (G4VIS_USE_OPENGLXM)
33 #ifndef G4OPENGLXMPUSHBUTTON_HH
34 #define G4OPENGLXMPUSHBUTTON_HH
38 class G4OpenGLXmPushButton :
public G4OpenGLXmVWidgetComponent
42 G4OpenGLXmPushButton (
const char* = NULL,
43 XtCallbackRec* = NULL);
44 virtual ~G4OpenGLXmPushButton ();
46 void SetName (
const char*);
47 const char* GetName ();
49 void AddYourselfTo (G4OpenGLXmVWidgetContainer*);
51 Widget* GetPointerToParent ();
52 Widget* GetPointerToWidget ();
55 G4OpenGLXmPushButton (
const G4OpenGLXmPushButton&);
56 G4OpenGLXmPushButton& operator = (
const G4OpenGLXmPushButton&);
58 XtCallbackRec* callback;