【发布时间】:2014-06-28 13:59:53
【问题描述】:
我正在尝试在创建按钮后添加/删除 BitmapButton 的边框。我还没有找到任何工作示例来更新 BitmapButton 的外观。说
self.btn = wx.BitmapButton(self.panel, wx.ID_ANY, bmp, pos=(...))
self.Bind(wx.EVT_BUTTON, self.OnClick, self.btn)
然后在 OnClick 中
def OnClick(self):
# what should be here to give / remove the border of the button being clicked
谢谢
【问题讨论】:
标签: python button bitmap wxpython border