本文实例为大家分享了wxpython绘制圆角窗体的具体代码,供大家参考,具体内容如下
# -*- coding:gbk -*-
import wx
class RCDialog(wx.Dialog):
def __init__(self,parent=None,size=wx.DefaultSize):
wx.Dialog.__init__(self, parent, -1, size=size,
style=wx.FRAME_SHAPED |
wx.SIMPLE_BORDER |
wx.FRAME_NO_TASKBAR |
wx.STAY_ON_T
1