Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#15 Docking VPython

open
nobody
None
5
2012-01-21
2012-01-21
alex_karate_do
No

Hi and thanks for this excellent module.
I searched both in "feature requests" and in "mailing list", but I didn't find an answer, so here I am.
Would it be possible, in a future release, to dock a Vpython window inside a wxPython frame?
I only found this on Google, but it seems not very streamlined:
http://mientki.ruhosting.nl/data_www/pylab_works/pw_vpython_docking.html
Thanks in advance!

Discussion

  • Bruce Sherwood
    Bruce Sherwood
    2012-01-23

    From the Documentation/FAQ at vpython.org, though you already found Mientki's info: "This is difficult because VPython has two threads, your computational thread and a rendering thread which about 25 times per second paints the scene using the current attributes of the graphics objects. However, Stef Mientki has managed to embed VPython in a wxPython window on Windows; see the contributed section." Restructuring VPython to do this nicely would require a volunteer who is expert in the use of wxPython.