gui.py 文件源码

python
阅读 29 收藏 0 点赞 0 评论 0

项目:bp5000 作者: isaiahr 项目源码 文件源码
def __init__(self, parent, match, dilog, pos=(0, 0)):
        wx.Panel.__init__(self, parent, pos=pos, size=(300, 75))
        lbltext = "Pick the Winner of the Match"
        lbl = wx.StaticText(self, label=lbltext, pos=(30, 0))
        l1 = wx.StaticText(self, label=str(match.part1), pos=(23, 50))
        l2 = wx.StaticText(self, label=str(match.part2), pos=(173, 50))
        self.w1 = wx.SpinCtrl(self, min=-99, max=99, pos=(30, 20), size=(50, 40))
        self.w2 = wx.SpinCtrl(self, min=-99, max=99, pos=(180, 20), size=(50,40))

        #self.Bind(wx.EVT_BUTTON, dilog.winner1, w1)
        #self.Bind(wx.EVT_BUTTON, dilog.winner2, w2)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号