Igor Prischepoff wrote:
Thorsten Henninger wrote:
Hi all,
is it possible to use different skins for wxPython applications? For
example like winamp, icq ...On and off, I've been writing a skinnable music player (ala winamp
and all the others out there) completely in wxPython, and I've been
able to do everything I've wanted so far. Here's some screenshots
to show you it's quite possible:
http://www.rakradio.com/screenshots.phpCool!
It's really done in wxPython?
I would like to see your XML file if possible.
It's done with XRC ?--
Igor
Yeah, the whole app is wxPython (with pygame's mixer/music player thrown
in to handle audio playback). I'm not using XRC - I just wrote my own
thing
that is probably similar in some ways but much more basic.
There are several sample xml layout files in the download (don't worry,
it's free - I've thrown that registration thing up there in case someone
feels like chipping in at some point). Look in the skins directory and
check each subdirectory for a file called layout.xml. If you don't feel
like downloading it, email me and I can send you the xml files.
I've written up the spec for the xml file here:
http://www.rakradio.com/help_skin.php
It simply exposes many of the sizer layout features in wxPython, along
with some custom aspects for the buttons, animations and various text
fields.
Jeff Marshall
jmarshall@maxis.com