Created
March 14, 2012 14:52
-
-
Save mkeeter/2037009 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import wx | |
class MyFrame(wx.Frame): | |
""" We simply derive a new class of Frame. """ | |
def __init__(self): | |
wx.Frame.__init__(self, parent = None, title='Sample', size=(200,100)) | |
self.sb = self.CreateStatusBar(style = wx.NO_BORDER) | |
self.sb.SetStatusStyles([wx.SB_FLAT]) | |
self.SetBackgroundColour('#000000') | |
self.sb.SetBackgroundColour('#333333') | |
self.Show(True) | |
app = wx.App(False) | |
frame = MyFrame() | |
app.MainLoop() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment