I'm a new user of wxPython.
I would like to draw some lines in a window in order to make a road map.
I think I need a "canvas" or something like this, to draw the lines on
it. But I don't know how I can do this.
Furthermore: is wxPython sufficient to do this or do I need other
modules like Piddle?
I would like to draw some lines in a window in order to make a road map.
I think I need a "canvas" or something like this, to draw the lines on
it. But I don't know how I can do this.
Furthermore: is wxPython sufficient to do this or do I need other
modules like Piddle?
I think you'll probably be wanting wxOGL - it supplies canvas, shapes,
and other graphical toolkit stuff. Some of it even works the way you'd
expect it to (but don't count on it). Have fun....
Regards,
Denny
···
On Thu, 5 Apr 2001, Carole Valentin wrote:
----------------------------------------------------------
Denny De La Haye \ www-edc.eng.cam.ac.uk/~djd33
Engineering Design Centre, \ www-edc.eng.cam.ac.uk
Department of Engineering, \ www.eng.cam.ac.uk
University of Cambridge, UK \ www.cam.ac.uk
----------------------------------------------------------
"Only two things are infinite, the universe and human stupidity,
and I'm not sure about the former." (Albert Einstein)
> I would like to draw some lines in a window in order to make a road map.
>
> I think I need a "canvas" or something like this, to draw the lines on
> it. But I don't know how I can do this.
> Furthermore: is wxPython sufficient to do this or do I need other
> modules like Piddle?
I think you'll probably be wanting wxOGL - it supplies canvas, shapes,
and other graphical toolkit stuff. Some of it even works the way you'd
expect it to (but don't count on it). Have fun....
Regards,
Denny
----------------------------------------------------------
Denny De La Haye \ www-edc.eng.cam.ac.uk/~djd33
Engineering Design Centre, \ www-edc.eng.cam.ac.uk
Department of Engineering, \ www.eng.cam.ac.uk
University of Cambridge, UK \ www.cam.ac.uk
----------------------------------------------------------
"Only two things are infinite, the universe and human stupidity,
and I'm not sure about the former." (Albert Einstein)
--
Kevin Cole, RHCE, Linux Admin | E-mail: kjcole@gri.gallaudet.edu
Gallaudet Research Institute | WWW: http://gri.gallaudet.edu/~kjcole/
Hall Memorial Bldg S-419 | Voice: (202) 651-5135
Washington, D.C. 20002-3695 | FAX: (202) 651-5746
If you're using Red Hat Linux or some variant that uses RPM, you might
want to look at Mesa, which, if memory serves me, will help out the
wxOGL stuff, by supplying the underlying libs.
···
On Thu, 5 Apr 2001, Denny De La Haye wrote:
On Thu, 5 Apr 2001, Carole Valentin wrote:
> Hi,
Hello...
> I'm a new user of wxPython.
My commiserations
> I would like to draw some lines in a window in order to make a road map.
>
> I think I need a "canvas" or something like this, to draw the lines on
> it. But I don't know how I can do this.
> Furthermore: is wxPython sufficient to do this or do I need other
> modules like Piddle?
I think you'll probably be wanting wxOGL - it supplies canvas, shapes,
and other graphical toolkit stuff. Some of it even works the way you'd
expect it to (but don't count on it). Have fun....
Regards,
Denny
----------------------------------------------------------
Denny De La Haye \ www-edc.eng.cam.ac.uk/~djd33
Engineering Design Centre, \ www-edc.eng.cam.ac.uk
Department of Engineering, \ www.eng.cam.ac.uk
University of Cambridge, UK \ www.cam.ac.uk
----------------------------------------------------------
"Only two things are infinite, the universe and human stupidity,
and I'm not sure about the former." (Albert Einstein)
--
Kevin Cole, RHCE, Linux Admin | E-mail: kjcole@gri.gallaudet.edu
Gallaudet Research Institute | WWW: http://gri.gallaudet.edu/~kjcole/
Hall Memorial Bldg S-419 | Voice: (202) 651-5135
Washington, D.C. 20002-3695 | FAX: (202) 651-5746
If you're using Red Hat Linux or some variant that uses RPM, you might
want to look at Mesa, which, if memory serves me, will help out the
wxOGL stuff, by supplying the underlying libs.
wxOGL doesn't have anything to do with OpenGL (or Mesa) it's just an
unfortunate acronym collision.
···
--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters? http://wxPython.org Relax with wxPython!