From: Bruce S. <Bru...@nc...> - 2006-09-05 16:50:03
|
I could be wrong, but I don't think there's a way within VPython to force a Visual window to be active, nor do I think the situation is different in version 4. You might examine the program 02_threebody.py found at http://www4.ncsu.edu/~rwchabay/mi/Public_Programs_VI.htm It forces a non-Visual window to come forward and be active, though that's the opposite situation to your problem. Bruce Sherwood Andrey Antonov wrote: >Dear Friends, > >I use VPython 3.2.9 for Windows (XP). >I have an application with one (or several) VPython scenes full of objects >and another Tkinter window with widgets. >When I click on the Tkinter Button my VPython scene window is not active, >then the user have to click on VPython scene in order to activate it. >This is not a big trouble, but I need to accelerate my application. >So could anyone help me to solve this problem: > Within my application how can I make the VPython scene to be the >current active window after clicking on the widget button? > >I don't know whether it is simple to do in next VPython 4. >ThX > >Andrio > > >------------------------------------------------------------------------- >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >_______________________________________________ >Visualpython-users mailing list >Vis...@li... >https://lists.sourceforge.net/lists/listinfo/visualpython-users > > |