wx,Overlay with Graphics context

HI all,

I was poking into wx.Overlay a bit, and found this old thread:

http://lists.wxwidgets.org/pipermail/wxpython-users/2007-December/071220.html

In that post, Chris Mellon posted a version that used a GraphicsContext with an Overlay, but that attachment is no longer there. Also, that code crashed on the Mac.

Has anyone got a copy of it (or something similar), and does it work on the Mac now?

-Chris

···

--
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov

Christopher Barker wrote:

HI all,

I was poking into wx.Overlay a bit, and found this old thread:

http://lists.wxwidgets.org/pipermail/wxpython-users/2007-December/071220.html

In that post, Chris Mellon posted a version that used a GraphicsContext with an Overlay, but that attachment is no longer there. Also, that code crashed on the Mac.

Has anyone got a copy of it (or something similar)

The attachment URL was split, here it is joined back together:
http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/20071219/d88dbce5/overlay.py

, and does it work on
the Mac now?

Looks like it still crashes.

···

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

Robin Dunn wrote:

Has anyone got a copy of it (or something similar)

The attachment URL was split, here it is joined back together:
http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/20071219/d88dbce5/overlay.py

thanks, I tried doing that, but I guess I didn't do it right.

Looks like it still crashes.

yup -- for me too. I've enclosed a version with conditional code for the two platforms. Maybe someone could test on GTK?

-chris

Overlaytest2.py (2.97 KB)

···

--
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov

Christopher Barker wrote:

Robin Dunn wrote:

Has anyone got a copy of it (or something similar)

The attachment URL was split, here it is joined back together:
http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/20071219/d88dbce5/overlay.py

thanks, I tried doing that, but I guess I didn't do it right.

Looks like it still crashes.

yup -- for me too. I've enclosed a version with conditional code for the two platforms. Maybe someone could test on GTK?

-chris

------------------------------------------------------------------------

_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwidgets.org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users
  

Seems to work well here; Ubuntu 9.04

Steven Sproat wrote:

Christopher Barker wrote:

yup -- for me too. I've enclosed a version with conditional code for the two platforms. Maybe someone could test on GTK?

Seems to work well here; Ubuntu 9.04

great thanks.

Robin, should I refactor this for the Demo? I didn't see anything in the Demo for Overlay.

-Chris

···

--
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov

Christopher Barker wrote:

Steven Sproat wrote:

Christopher Barker wrote:

yup -- for me too. I've enclosed a version with conditional code for the two platforms. Maybe someone could test on GTK?

Seems to work well here; Ubuntu 9.04

great thanks.

Robin, should I refactor this for the Demo? I didn't see anything in the Demo for Overlay.

Yes, please do.

···

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