|
From: Bruce S. <Bru...@nc...> - 2008-12-10 19:17:19
|
See the documentation on displays, where you'll see that you can indeed change the title and other properties of a window, but you must make the window invisible first, then make it visible again. The rules in Visual 3 for changing window properties were somewhat vague and inconsistent. In the "What's new in Visual 5" you'll see listed as a known bug that scene.cursor isn't yet available. I wasn't aware of a change from list to tuple for scene.objects, but clearly it ought to be a tuple, not a list, as this should not be a modifiable sequence. In what context did it matter that it was a list rather than a tuple? Bruce Sherwood Roberto Aguirre Maturana wrote: > Hi: > > I have made a few tests with Visual 5, and so far I have found the > following problems wich were not present in Visual 3: > > - scene.title cannot be modifyied. > - scene.objects used to be a list, now it is a tuple? anyway, replacing > scene.objects with list(scene.objects) seems to work as good as Visual 3. > - AttributeError: 'display' object has no attribute 'cursor' > > I am runnig VPython in Windows XP Professional. > > > Best regards, > |