[wxPython-users] drawing on top of widgets
Josiah Carlson
jcarlson at uci.edu
Wed Nov 1 13:47:39 PST 2006
"Dusty Phillips" <buchuki at gmail.com> wrote:
> > Looking back in the archives, I remembered a thread with the subject of
> > "Custom red X control and wx.window styles documentation", that uses the
> > wx.TRANSPARENT_WINDOW style. Adding that to the class that I provided
> > seems to work, at least on Windows...
>
> Hmmm, unfortunately, this "at least on Windows" clause is a bit of an
> issue. On my linux system (wxpython 2.6.3.3 Arch Linux), its still
> giving me a grey box behind the cross. :-/
>
> I think I'll go with Java and its glass pane, or maybe even groovy. I
> hate Java, but this project isn't important to me and I'm not going to
> be the one maintaining it. :-D Write once, forgetaboudit.
You know...you could use a wx.Grid with a single entry, use the
multi-line editor and renderer (if necessary), and add the over-draw on
the rendering yourself. Some hoops to jump through, but it may work for
you.
- Josiah
More information about the wxpython-users
mailing list