I've used the slider and menu items from vpython and they have the
advantage that you can keep all control within the vpython environment.
They don't provide a complete GUI environment but allow a small degree
of control but are not really suitable fro applications that might
require lists of items that are larger than that that can be displayed
in the one window and the lack of the exact size of the label window
leads to some rather unexpected side effects.
The mechanisms for transferring information from the visual python
environment to a different GUI can get a little involved, o if you want
something within the display window they still provide a nice quick
alternative to multiple threads and queues. There is a controls.display
attribute that allows you to mix controls and visual python objects in
the same display.
Anders Petersson wrote:
> Personally I would be interested in such examples. Could you kindly
> upload them to the wiki? Or maybe some links if there are already good
> explanations.
>
> Thanks,
> Anders Petersson
>
> On Wed, Oct 29, 2008 at 2:53 AM, marc desmarais <mde...@ya...
> <mailto:mde...@ya...>> wrote:
>
> Regarding the use of sliders and other 2D GUI widgets, I would
> really encourage folks to use Tkinter. It does a much better job.
>
> I can contribute examples if you want.
>
> Best to concentrate Vpython's efforts on 3D I think.
>
> Marc Desmarais
> Long Beach, CA
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> <http://moblin-contest.org/redirect.php?banner_id=100&url=/>
> _______________________________________________
> Visualpython-users mailing list
> Vis...@li...
> <mailto:Vis...@li...>
> https://lists.sourceforge.net/lists/listinfo/visualpython-users
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ------------------------------------------------------------------------
>
> _______________________________________________
> Visualpython-users mailing list
> Vis...@li...
> https://lists.sourceforge.net/lists/listinfo/visualpython-users
>
|