From: vsr Date: Thu, 27 Aug 2009 09:10:28 +0000 (+0000) Subject: Issue 20429: [ CEA 345 ] Python split views does not work with VISU X-Git-Tag: V5_1_main_20090828 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=dc2ae2491d98ee726d86f1536a841da9b1ede650;p=modules%2Fvisu.git Issue 20429: [ CEA 345 ] Python split views does not work with VISU --- diff --git a/src/VISU_SWIG/visu_split_views.py b/src/VISU_SWIG/visu_split_views.py index 9d20a934..a0968bfa 100644 --- a/src/VISU_SWIG/visu_split_views.py +++ b/src/VISU_SWIG/visu_split_views.py @@ -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)