Skins

Well, I have been doing something similar. 90% of my UI is made up of
my own controls that are basically images drawn on general wx.Window
controls.
I made my own controls derived from wx.Window and basically bound the
paint events and the mouse events in order to get the functionality
that I wanted. I actually do my own layout calculations (I forgot why I
needed that…), image resizing and that stuff. The biggest hurdle for
me was getting everything to work cross platform (mac, win, linux).

Maybe there is another way of doing this. I just did it this way and it seems to work for me.
I’ve attached a screenshot of what my app looks like (it’s a UI to
control a window manager for large tiled displays). There is a lot more
to it then what you can see, like plotting, OGL for drawing those
rectangles, xmlrpc, standard sockets, everything is
threaded and so on.
Ratko

···

On 3/15/06, Eli Golovinsky egooli@gmail.com wrote:

I need to develop a skin based UI.

You know - bitmap buttons with mouse-over behaviour, alpa blending of one control into another, panels with backgrounds, static control placement, etc.

I’ve been trying to find a simple way to implement this functionality with wxPython but it seems to be anything but simple. There all kinds of problems I’m encountering every step of the way and there seem to be no end in sight to some of them.

But before we get into all that I wondered if any of you has done anything like that and might share some insights?

I’ve tried searching for skin support / libraries for both wxPython and wxWidgets but came up empty. Am I missing something?

If all else fails, I’ll probably get working on an extension for wxPython (or maybe even wxWidgets) to make that possible. Is anybody interested to work on this together?