Skip to content

Instantly share code, notes, and snippets.

@jyr
Created May 30, 2009 19:33
Show Gist options
  • Save jyr/120610 to your computer and use it in GitHub Desktop.
Save jyr/120610 to your computer and use it in GitHub Desktop.
"""
http://www.blog.pythonlibrary.org/?p=18
http://wiki.wxpython.org/Transparent%20Frames
"""
import wx
class Fader(wx.Frame):
def __init__(self):
wx.Frame.__init__(self, None, title='Test')
self.amount = 150
panel = wx.Panel(self, wx.ID_ANY)
self.SetTransparent(self.amount)
if __name__ == '__main__':
app = wx.App(False)
frm = Fader()
frm.Show()
app.MainLoop()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment