python类exitonclick()的实例源码

scheme_primitives.py 文件源码 项目:Scheme 作者: StephenK1998 项目源码 文件源码 阅读 29 收藏 0 点赞 0 评论 0
def tscheme_exitonclick():
    """Wait for a click on the turtle window, and then close it."""
    global _turtle_screen_on
    if _turtle_screen_on:
        print("Close or click on turtle window to complete exit")
        turtle.exitonclick()
        _turtle_screen_on = False
    return okay
scheme_primitives.py 文件源码 项目:Charon 作者: forrestchang 项目源码 文件源码 阅读 22 收藏 0 点赞 0 评论 0
def tscheme_exitonclick():
    """Wait for a click on the turtle window, and then close it."""
    global _turtle_screen_on
    if _turtle_screen_on:
        print("Close or click on turtle window to complete exit")
        turtle.exitonclick()
        _turtle_screen_on = False
    return okay
scheme_primitives.py 文件源码 项目:SchemeInterpreter 作者: GrantHiggins16 项目源码 文件源码 阅读 32 收藏 0 点赞 0 评论 0
def tscheme_exitonclick():
    """Wait for a click on the turtle window, and then close it."""
    global _turtle_screen_on
    if _turtle_screen_on:
        print("Close or click on turtle window to complete exit")
        turtle.exitonclick()
        _turtle_screen_on = False
    return okay


问题


面经


文章

微信
公众号

扫码关注公众号