From: Bruce S. <Bru...@nc...> - 2013-01-10 15:56:15
|
Thanks much for the report, including the bug report. It is intended to open up VPython to make it possible to add buttons, sliders, etc., using the capabilities of wxPython (not Tcl). The first task was simply (well, not so simply) to replicate existing VPython capabilities. Currently, when you create a display object, that's a composite in the sense that it creates a window and also creates an OpenGL canvas that fills that window. Presumably what is needed is a window object that creates a window, and a canvas object that creates an OpenGL canvas somewhere in that window, in which case you could then add other widgets to the window. That would leave the display object as a convenience object, useful for many ordinary programs. Bruce Sherwood On Wed, Jan 9, 2013 at 10:03 PM, Symion <kn...@ip...> wrote: > This is wonderful!! > I now have Visual Python with a MENU item 'Files', running on Windows XP! > ALL examples have been run without error and everything seems very stable. > > Specifically I am using: > Vpython ('6.00', 'release') running with Python 2.7.3 on Windows XP > > Of course this raises lots of questions... > > Although 'help(vis)' provides much information and dir(vis.scene.window) > reveals 335 instancemethods and 82 other objects. > I do have a few questions that are not currently addressed by the > documentation. > > The main one is: > How do I make new window Menu objects? > Does Vpython use TCL? or do I have to learn wxPython methodologies? > Is it possible to make Buttons, Sliders, List Boxes or even Window > Panes from WITHIN Visual? > > I hope the Documentation will eventually address these topics in detail. > > The Only 'error' I have found is this. > There is this anomalous error report when I am in V-IDLE shell and I break > program with 'ctrl-c'. > > Traceback (most recent call last): > File "K:\Symion_12_12_12\visdemo.py", line 6 > import vis > File "C:\Python27\lib\site-packages\vis\__init__.py", line 17 > File "C:\Python27\Lib\site-packages\visual_common\rate_plan.py", line > 122, in __call__ > sleep(desiredLoopTime - currTime) > TypeError: 'int' object is not callable > > Hope this means something to you... > > Finally, it is really good to see The Project evolving. > > Symion > > > > On 27/12/2012 4:59 AM, Bruce Sherwood wrote: > > Now available on the Windows download page at vpython.org is a 32-bit > version of the experimental VPython that's based on wxPython. > > Bruce Sherwood > > > ------------------------------------------------------------------------------ > Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery > and much more. Keep your Java skills current with LearnJavaNow - > 200+ hours of step-by-step video tutorials by Java experts. > SALE $49.99 this month only -- learn more at:http://p.sf.net/sfu/learnmore_122612 > > > > _______________________________________________ > Visualpython-users mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/visualpython-users > > > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. ON SALE this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122712 > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > |