]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Issue 20429: [ CEA 345 ] Python split views does not work with VISU V5_1_main_20090828
authorvsr <vsr@opencascade.com>
Thu, 27 Aug 2009 09:10:28 +0000 (09:10 +0000)
committervsr <vsr@opencascade.com>
Thu, 27 Aug 2009 09:10:28 +0000 (09:10 +0000)
src/VISU_SWIG/visu_split_views.py

index 9d20a93455964a29ccea488889ff07d3991d794f..a0968bfa92191dcff0eaded1f81fd4247f809f90 100644 (file)
@@ -162,8 +162,8 @@ myView5 = myViewManager.Create3DView()
 print "myView5 = myViewManager.Create3DView()"
 myView5.SetTitle("The window to display Cut Lines")
 
-myView5.SplitTop()
-print "myView5.SplitTop()"
+myView5.SplitBottom()
+print "myView5.SplitBottom()"
 
 aColor = SALOMEDS.Color(0.7,0.7,0.7)
 print "aColor = SALOMEDS.Color(0.7,0.7,0.7)"
@@ -232,22 +232,12 @@ sleep(DELAY)
 
 ################################################
 
-myView6.OnTop()
-print "myView6.OnTop()"
-
-sleep(DELAY)
-
 myView4.Attract(myView2)
 print "myView4.Attract(myView2)"
 
 sleep(DELAY)
 
-myView4.SetRelativePositionInSplitter(0.7)
-print "myView4.SetRelativePositionInSplitter(0.7)"
-
-sleep(DELAY)
-
-myView4.SetRelativePositionX(0.2)
-print "myView4.SetRelativePositionX(0.7)"
+myView7.OnTop()
+print "myView6.OnTop()"
 
 sleep(DELAY)