canvas.py 文件源码

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

项目:PyCut 作者: FOSSRIT 项目源码 文件源码
def run_pygame(self, main_fn):
        # Run the main loop after a short delay.  The reason for the delay is that the
        # Sugar activity is not properly created until after its constructor returns.
        # If the Pygame main loop is called from the activity constructor, the 
        # constructor never returns and the activity freezes.
        GObject.idle_add(self._run_pygame_cb, main_fn)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号