mvc.py 文件源码

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

项目:fritzchecksum 作者: mementum 项目源码 文件源码
def _unbindfuncs(self):
    # I would need a list of the functions that been bound to unbind them
    while True:
        try:
            widget, event, dynboundmethod = self._dynbindings.pop()
        except IndexError:
            break  # no more items in the list
        else:
            if event in [wx.EVT_MENU, wx.EVT_TOOL]:
                self.Unbind(event, handler=dynboundmethod, id=widget.GetId())
            elif event in [wx.EVT_SIZE]:
                self.Unbind(event, handler=dynboundmethod)
            else:
                widget.Unbind(event, handler=dynboundmethod)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号