没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
试读
1页
python 批量添加的button 使用同一点击事件根据传递的参数进行区分。 def clear_text(): print '我只是个清空而已' def clear_text(index): print '我只是个清空而已' +str(index) button = Button(framet_title, text='\u6e05\u7a7a', command=clear_text) 这样去设置,单个按钮对应单个点击事件没有问题的 如果你是 for i in Range(10): button = Button(framet_title, text='\u6e05\u7a7a', command=clear_t
资源推荐
资源评论
资源评论
weixin_38565801
- 粉丝: 3
- 资源: 971
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功