Skip to content

Instantly share code, notes, and snippets.

@mkeeter
Created March 14, 2012 14:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mkeeter/2037009 to your computer and use it in GitHub Desktop.
Save mkeeter/2037009 to your computer and use it in GitHub Desktop.
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