31 #ifdef G4VIS_BUILD_OPENGLXM_DRIVER 
   37 #include <Xm/RowColumn.h> 
   40 G4OpenGLXmFramedBox::G4OpenGLXmFramedBox (
const char* 
n, 
 
   47 G4OpenGLXmFramedBox::~G4OpenGLXmFramedBox () 
 
   50 void G4OpenGLXmFramedBox::AddChild (G4OpenGLXmVWidgetComponent* component)
 
   52   component->AddYourselfTo(
this);
 
   53   Cardinal num_children;
 
   54   XtVaGetValues (box_row_col,
 
   55          XmNnumChildren, &num_children,
 
   60 void G4OpenGLXmFramedBox::AddYourselfTo (G4OpenGLXmVWidgetShell* window)
 
   63   pView = window->GetView ();
 
   66   strcpy (framename, 
name);
 
   67   strcat (framename, 
"_frame");
 
   69   parent = window->GetPointerToWidget ();
 
   70   frame = XtVaCreateManagedWidget (framename,
 
   77                     XtNborderColor, borcol,
 
   84   box_row_col =  XtVaCreateManagedWidget (
name,
 
   85                       xmRowColumnWidgetClass,
 
   88                       XmNadjustMargin, True,
 
   89                       XmNisHomogeneous, False,
 
   90                       XmNlabelString, (XmString)
name,
 
   91                       XmNradioAlwaysOne, radio,
 
   92                       XmNradioBehavior, radio,
 
   97                       XtNborderColor, borcol,