30#ifdef G4VIS_BUILD_OPENGLXM_DRIVER
36#include <Xm/RowColumn.h>
39G4OpenGLXmBox::G4OpenGLXmBox (
const char* n,
48G4OpenGLXmBox::~G4OpenGLXmBox ()
51void G4OpenGLXmBox::AddChild (G4OpenGLXmVWidgetComponent* component)
53 component->AddYourselfTo(
this);
54 Cardinal num_children;
55 XtVaGetValues (box_row_col,
56 XmNnumChildren, &num_children,
61void G4OpenGLXmBox::AddYourselfTo (G4OpenGLXmVWidgetShell* window)
64 pView = window->GetView ();
66 parent = window->GetPointerToWidget ();
68 box_row_col = XtVaCreateManagedWidget (name,
69 xmRowColumnWidgetClass,
72 XmNadjustMargin, True,
73 XmNisHomogeneous, False,
74 XmNlabelString, (XmString)name,
75 XmNradioAlwaysOne, radio,
76 XmNradioBehavior, radio,
81 XtNborderColor, borcol,
88Widget* G4OpenGLXmBox::GetPointerToParent ()
93Widget* G4OpenGLXmBox::GetPointerToWidget ()
98const char* G4OpenGLXmBox::GetName ()
103void G4OpenGLXmBox::SetName (
const char* n)
const char * name(G4int ptype)