From dc2ae2491d98ee726d86f1536a841da9b1ede650 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 27 Aug 2009 09:10:28 +0000 Subject: [PATCH] Issue 20429: [ CEA 345 ] Python split views does not work with VISU --- src/VISU_SWIG/visu_split_views.py | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) 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) -- 2.39.2