31#ifdef G4VIS_BUILD_OPENGLXM_DRIVER
37#include <Xm/RowColumn.h>
40G4OpenGLXmBox::G4OpenGLXmBox (
const char* n,
49G4OpenGLXmBox::~G4OpenGLXmBox ()
52void G4OpenGLXmBox::AddChild (G4OpenGLXmVWidgetComponent* component)
54 component->AddYourselfTo(
this);
55 Cardinal num_children;
56 XtVaGetValues (box_row_col,
57 XmNnumChildren, &num_children,
62void 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,
89Widget* G4OpenGLXmBox::GetPointerToParent ()
94Widget* G4OpenGLXmBox::GetPointerToWidget ()
99const char* G4OpenGLXmBox::GetName ()
104void G4OpenGLXmBox::SetName (
const char* n)