page.py 文件源码

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

项目:cebl 作者: idfah 项目源码 文件源码
def __init__(self, parent, name, mgr, *args, **kwargs):
        """Construct a new page.

        Args:
            name:           The string name of this page as it will appear
                            to the user.

            mgr:            The cebl.manager.Manager instance that manages
                            all sources and pages.

            args, kwargs:   Additional arguments to pass to wx.Panel.
        """
        wx.Panel.__init__(self, parent=parent, *args, **kwargs)

        self.name = name
        self.running = False

        self.mgr = mgr
        self.src = self.mgr.getSource()

        self.Bind(wx.EVT_KEY_UP, self.onKeyUp)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号