def __init__(self, parent):
wx.Panel.__init__(self, parent)
imageFile = 'Tile.bmp'
self.bmp = wx.Bitmap(imageFile)
# react to a resize event and redraw image
parent.Bind(wx.EVT_SIZE, self.canvasCallback)
button = wx.Button(self, label="Quit")
self.Bind(wx.EVT_BUTTON, self.buttonCallback, button)
parent.CreateStatusBar()
wxPython_Wallpaper_simple.py 文件源码
python
阅读 16
收藏 0
点赞 0
评论 0
评论列表
文章目录