30 #ifdef G4VIS_BUILD_OPENGLXM_DRIVER
36 #include <Xm/RowColumn.h>
39 G4OpenGLXmBox::G4OpenGLXmBox (
const char*
n,
48 G4OpenGLXmBox::~G4OpenGLXmBox ()
51 void G4OpenGLXmBox::AddChild (G4OpenGLXmVWidgetComponent* component)
53 component->AddYourselfTo(
this);
54 Cardinal num_children;
55 XtVaGetValues (box_row_col,
56 XmNnumChildren, &num_children,
61 void 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,
88 Widget* G4OpenGLXmBox::GetPointerToParent ()
93 Widget* G4OpenGLXmBox::GetPointerToWidget ()
98 const char* G4OpenGLXmBox::GetName ()
103 void G4OpenGLXmBox::SetName (
const char*
n)