Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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