Hello,
I'm trying to evaluate wxPython for an upcoming project, from what I
see, I like it very much. But I can't seem to figure out something, if
its at all possible.I would like to use my own theme. Not windows specific, but my own graphics.
I have searched high and low, there is a lot to search, and I am still
searching, but the only thing I can find about themes is on the
wxWidgets site, something called wxUniversal. Unfortunately I cannot
find any documentation nor examples.So, my question, can I specify my own themes (schema??) using wxPython
without having to do a lot of recompiling?
I've never actually seen a compiled distribution of wxUniversal, and if
it did exist, you'd have to recompile wxPython anyhow, as I doubt Robin
is compiling wxUniversal + wxPython.
I would also doubt that wxUniversal is what you want to use.
Examples of what I want to do
Change the close icon of this window from a cross, to say a box
Horizontally center the wxFrame Title
Change the color of the frames boarder and backgrounds.
If I wanted to do as you describe, I'd create a wxFrame subclass, give
it no border, no buttons, title, etc., and construct them from the
ground up to emulate as much of the wxFrame as I wanted/needed. It
would take a bit of work, but it is possible.
I'd even consider using a wx.ShapedWindow and other bits to draw the
controls directly on the window, though not having used it before, I'm
not sure how plausable it is.
Or is this something I should be asking on the wxWidgets list?
You could try, they may give you better advice.
p.s. I do know about wx.ArtProvider, but that does not do what I am
trying to do. (I think)
All it could do is get you an icon for use in a button, but it doesn't
change previously existing icons for things like "close window".
- Josiah
ยทยทยท
"Simon Duggan" <sduggan@mts.net> wrote: