31 #ifdef G4VIS_BUILD_OPENGLXM_DRIVER
37 #include <Xm/RowColumn.h>
40 G4OpenGLXmBox::G4OpenGLXmBox (
const char*
n,
49 G4OpenGLXmBox::~G4OpenGLXmBox ()
52 void G4OpenGLXmBox::AddChild (G4OpenGLXmVWidgetComponent* component)
54 component->AddYourselfTo(
this);
55 Cardinal num_children;
56 XtVaGetValues (box_row_col,
57 XmNnumChildren, &num_children,
62 void G4OpenGLXmBox::AddYourselfTo (G4OpenGLXmVWidgetShell* window)
65 pView = window->GetView ();
67 parent = window->GetPointerToWidget ();
69 box_row_col = XtVaCreateManagedWidget (
name,
70 xmRowColumnWidgetClass,
73 XmNadjustMargin, True,
74 XmNisHomogeneous, False,
75 XmNlabelString, (XmString)
name,
76 XmNradioAlwaysOne, radio,
77 XmNradioBehavior, radio,
82 XtNborderColor, borcol,
89 Widget* G4OpenGLXmBox::GetPointerToParent ()
94 Widget* G4OpenGLXmBox::GetPointerToWidget ()
99 const char* G4OpenGLXmBox::GetName ()
104 void G4OpenGLXmBox::SetName (
const char*
n)