wxPython 窗口实现透明
2012-08-16 13:49
1266 查看
#!/usr/bin/env python #coding:utf-8 from wx import * class Trans(Frame): def __init__(self, parent, id, title): Frame.__init__(self, parent, id, title, size=(700, 500), style=DEFAULT_FRAME_STYLE | STAY_ON_TOP) self.Text = TextCtrl(self, style=TE_MULTILINE | HSCROLL) self.Text.SetBackgroundColour('Black'), self.Text.SetForegroundColour('Steel Blue') self.SetTransparent(200) #设置透明 self.Show() app = App() Trans(None, 1, "Transparent Window") app.MainLoop()
相关文章推荐
- 使用分层窗口及透明png图片实现一个异形窗口
- 窗口实现比较完美玻璃透明效果
- LabVIEW 实现窗口置顶与透明显示
- QT窗口控件透明效果的实现
- 浏览器扩展系列————透明浏览器窗口的实现
- 半透明信息显示浮动窗口的实现
- Android透明背景Dialog、Dialog实现悬浮窗口 可与输入法交互,不被输入法覆盖
- 窗口控件透明效果的实现--DSkinLite界面库使用技巧
- QT实现窗口透明的方法
- C++Builder/Delphi中透明Panel及透明窗口的实现方法
- QT实现窗口透明的方法
- NSIS:实现程序窗口逐渐透明的渐入渐出效果
- 使用SetLayeredWindowAttributes API 实现透明窗口
- VC如何实现透明窗口
- 半透明窗口中显示标准控件(控件与文字不透明)的实现方案(附源码)
- VC如何实现透明窗口
- Delphi 如何实现窗口透明,但是窗口上的文字不透明
- MFC对话框简单实现窗口全透明的方法
- win32下实现透明窗口
- Delphi 如何实现窗口透明,但是窗口上的文字不透明