main.py 文件源码

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

项目:Chess-Clock 作者: engSERGIU 项目源码 文件源码
def build(self):
        self.transition = SlideTransition(duration = 0.8)

        self.about_popup = AboutPopup()

        setPage = Set(name = "setPage")
        clockPage = Clock(name = "clockPage")
        colorPage = Color(name = "colorPage")

        self.setPage = setPage
        self.clockPage = clockPage
        self.colorPage = colorPage

        scene = ScreenManager(transition = self.transition)
        self.scene = scene
        scene.add_widget(setPage)
        scene.add_widget(clockPage)
        scene.add_widget(colorPage)
        scene.current = "setPage"

        return scene
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号