For those of you that are familiar with wx...

I'm just dipping my toe into the world of wxPython and I've been trying to put together a very simple Wizard app. Right now I have code that is working properly, but I'd like to know how I can change the color of the wizard and where I could find documentation that would tell me the options that I have here.

Here is the code that I have right now. Doesn't do anything, but it works.

import wx
import wx.wizard as wiz

class WizardPage(wx.wizard.WizardPageSimple):
    def __init__(self, parent):
        wiz.WizardPageSimple.__init__(self, parent)
        self.sizer = wx.BoxSizer(wx.VERTICAL)
        TitleBar = wx.StaticText(self, -1, 'Giant Banner of Words')
        TitleBar.SetFont(wx.Font(36, wx.SWISS, wx.BOLD, wx.NORMAL))
        self.sizer.Add(TitleBar, 0, wx.ALIGN_LEFT, 5)
        self.sizer.Add(wx.StaticLine(self, -1), 0, wx.EXPAND, 5)

app = wx.PySimpleApp()
MyWizard = wiz.Wizard(None, -1, "Working on the wizard")

page1 = WizardPage(MyWizard)
page2 = WizardPage(MyWizard)
page3 = WizardPage(MyWizard)

wiz.WizardPageSimple_Chain(page1, page2)
wiz.WizardPageSimple_Chain(page2, page3)


So how can I change the color of the wizard to black for example? And how can I change the font of the StaticText widget? And where the heck can I find human-readable documentation on the options that are available for something like StaticText?

Thanks for your help.

why don't you ckeck the book "WxPython in Action"?

OK, I'll see if they have it in my library or if it is very expensive at the book store. I was just hoping I could find the answer without paying for it.

This article has been dead for over six months. Start a new discussion instead.