[wxPython] Working an eval...

Greetings:
I'm working on an evaluation comparing methods for Python&JAVA.
I just started working with Python, so,

I was hoping someone could point me to some resources, FAQs, code, etc. for
wxPython that were focused on the following:

This is a prototype application that will need to support a layered
graphical interface (canvas).
To begin, I would like to be able select a layer and drop objects into the
layer.
Somewhat like the wxOGL demo application ( but with drag&drop + layers ).
Of course expectations go on from there, but this will demo the concept.

I'm prototyping on a PC, but, the target platforms are SGI/UNIX, winPC and
possibly LINUX.

For Python, were also exploring the Tk vs wx issues... not meaning to
stir-up any religious issues here ;-).

thx,
clp

···

======================================
Chris Pettit
Aircraft Vehicle Integration Facility
Embedded Systems Programming
* Lockheed Martin Aeronautics Company
         D/6H52 Z/0698
         86 South Cobb Drive
         Marietta, GA 30063-0698
* Chris.L.Pettit@lmco.com
* 770-793-2595 (Voice)
* 770-793-2001 (FAX)

"They have computers, and they may have other
weapons of mass destruction."
- Janet Reno

"If you think there's a solution,
you're a part of the problem."
- George Carlin

======================================

"Pettit, Chris L" wrote:

This is a prototype application that will need to support a layered
graphical interface (canvas).
To begin, I would like to be able select a layer and drop objects into the
layer.
Somewhat like the wxOGL demo application ( but with drag&drop + layers ).
Of course expectations go on from there, but this will demo the concept.

I'm prototyping on a PC, but, the target platforms are SGI/UNIX, winPC and
possibly LINUX.

wxPython should work well on all of these

For Python, were also exploring the Tk vs wx issues... not meaning to
stir-up any religious issues here ;-).

One recurring theme in this comparison is that wxPython lacks a nice
hogh level canvas like TKs. If the TK canvas is jsut what you need, you
will have to do more work with wxPython. However, much of the rest of
your GUI might work better with wxPython, so who knows.

As for Canvas options in wxPython:

1)wxOGL is worth looking into. When I've checked it out it seems to be
very set up to draw certain type of diagrams, and it may not be well
suited to your app. check it out.

2)The wxGL canvas is woth checking out, particularly if you need to do
anything 3d.

3)There is a wxCanvas being worked on. It is discussed occasionally on
wx-dev. It has many of the features that you want (layers, etc), but it
is now only in C++, and maynot be stable enough to be wrapped for
wxPython just yet.

4)You can make your own canvas with DCs. This is the basic way to draw
with wxPython, and it works fine, but all the layereing, etc, you will
ave to do yourself.

5) I wrote a nifty little canvas for drawing in arbitrary floating point
coordinates, that features zooming, scrolling, etc. It is in pure Python
(plus Numeric), and probably has few of the features you need, but it
might be something you want to check out to see what can be done. Let me
now if you want a copy.

Good luck

-Chris

···

--
Christopher Barker,
Ph.D.
ChrisHBarker@home.net --- --- ---
http://members.home.net/barkerlohmann ---@@ -----@@ -----@@
                                   ------@@@ ------@@@ ------@@@
Oil Spill Modeling ------ @ ------ @ ------ @
Water Resources Engineering ------- --------- --------
Coastal and Fluvial Hydrodynamics --------------------------------------
------------------------------------------------------------------------