test_grid.py 文件源码

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

项目:magic-card-database 作者: drknotter 项目源码 文件源码
def OnEditorShown(self, evt):
        if evt.GetRow() == 6 and evt.GetCol() == 3 and \
           wx.MessageBox("Are you sure you wish to edit this cell?",
                        "Checking", wx.YES_NO) == wx.NO:
            evt.Veto()
            return

        print "OnEditorShown: (%d,%d) %s\n" % (evt.GetRow(), evt.GetCol(), evt.GetPosition())
        evt.Skip()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号