After much fiddeling I have now managed to create the needed buttons and the transparent background. I have also discovered how to trick callback function to support additional arguments. Python Cookbook
Example:
When you want to bind an event to a button in wxpython you can write the following:
Bind(wx.EVT_BUTTON, self.ExecuteEvent, button)
When the button is pressed the ExecuteEvent method is called with the event object as the only argument. However if you also want to supply some additional arguments you may use the curry class.
Example:
Bind(wx.EVT_BUTTON, curry(self.ExecuteEvent, arg1, arg2, ...),
button)
Really cool and helpfull  |