Program: bbtk
Module: $RCSfile: bbkwLayoutSplit.cxx,v $
Language: C++
- Date: $Date: 2008/12/02 13:37:56 $
- Version: $Revision: 1.3 $
+ Date: $Date: 2008/12/18 11:54:57 $
+ Version: $Revision: 1.4 $
=========================================================================*/
/* ---------------------------------------------------------------------
width = width - 5;
height = height - 5 ;
-
+
+ /*
bbGetOutputWidget()->GetApplication()->Script("place %s -x 0 -y 0 -width %d -height %d",
bbGetOutputWidget()->GetWidgetName(),
parent->GetWidth(),
parent->GetHeight() );
+ */
+ bbGetOutputWidget()->GetApplication()->Script
+ ("pack %s -expand yes -fill both",
+ bbGetOutputWidget()->GetWidgetName());
splitframe->SetReliefToGroove();
splitframe->SetBorderWidth(2);
vtkKWWidget* w2 = bbCreateWidgetOfInput("Widget2",splitframe->GetFrame2());
-
+ splitframe->GetApplication()->Script
+ ("pack %s -expand yes -fill both",
+ w1->GetWidgetName()) ;
+ splitframe->GetApplication()->Script
+ ("pack %s -expand yes -fill both",
+ w2->GetWidgetName()) ;
+
+ /*
+ splitframe->GetApplication()->Script("pack %s -expand yes -fill x -fill y", w2->GetWidgetName());
+ */
+ /*
splitframe->GetApplication()->Script("place %s -x 0 -y 0 -width %d -height %d",
w1->GetWidgetName(),
width,
width,
height);
-
+ */
}