[wxPython] put one panel upon the other

Hi xwPython-Fans,

got anybody experiences with canvases?
I want to put different graphs( till now drawn in the same canvas) upon the other, so that i could toggle between them without draw them again.
How can I do so???
Is there a possibility for transparent windows with canvases or can i make the canvas itself transparent???

Any other idea??

Thanx for reading my problem!!
Stefan

···

_______________________________________________________________________
1.000.000 DM gewinnen - kostenlos tippen - http://millionenklick.web.de
IhrName@web.de, 8MB Speicher, Verschluesselung - http://freemail.web.de

Do you mean overlay the graphs so that one is visible under another, or do
you mean show one graph, then another? If you just want to switch between
graphs, you might use wxNotebook, with a wxCanvas on each tab.

If, on the other hand, you mean overlaying the graphs, then you could do
something like drawing to a bitmap (instead of directly to the canvas) and
then in your EVT_PAINT handler, only blit the bitmaps (with masks, to achieve
transparency) that you want to be drawn at the time (perhaps selected by a
set of wxCheckboxes).

Regards,

···

On Monday 03 September 2001 10:43, you wrote:

Hi xwPython-Fans,

got anybody experiences with canvases?
I want to put different graphs( till now drawn in the same canvas) upon the
other, so that i could toggle between them without draw them again. How can
I do so???
Is there a possibility for transparent windows with canvases or can i make
the canvas itself transparent???

--
Cliff Wells
Software Engineer
Logiplex Corporation
(503) 978-6726 x308
(800) 735-0555 x308

got anybody experiences with canvases?
I want to put different graphs( till now drawn in the same canvas) upon

the other, so that i could toggle between them without draw them again.

How can I do so???

If using a wxNotebook as Cliff suggested doesn't float your boat then
perhaps you just want to .Show(true) one panel and .Show(false) the others
as you toggle between them?

···

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!