上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 52 下一页
摘要: 一、参数说明 语法作用 Checkbutton(root,text='xxxx') 复选框显示的文本 Checkbutton(root,variable=id) 通过变量的值确定哪些复选框被选中 Checkbutton(root,variable=id,onvalue=1) 复选框选中(有效)时变量 阅读全文
posted @ 2019-11-03 00:12 样子2018 阅读(1201) 评论(0) 推荐(0)
摘要: 一、参数说明 语法作用 Radiobutton(root,text='xxxx') 单选框文本显示内容 Radiobutton(root,variable=color) 单选框索引变量,通过变量的值确定哪个单选框被选中 Radiobutton(root,variable=color,value='r 阅读全文
posted @ 2019-11-02 16:59 样子2018 阅读(899) 评论(0) 推荐(0)
摘要: 一、参数说明 语法作用 Entry(root,width=20) 组件的宽度(所占字符个数) Entry(root,fg='blue') 前景字体颜色 Entry(root,bg='blue') 背景颜色 Entry(root,show="*") 将Entry框中的文本替换为指定字符 Entry(r 阅读全文
posted @ 2019-11-02 16:26 样子2018 阅读(2855) 评论(0) 推荐(0)
摘要: 一、参数说明 语法作用 Button(root,text='xxxx') 按钮图标显示内容 Button(root,text='xxxx',height=2) 组件的高度(所占行数) Button(root,text='xxxx',width=20) 组件的宽度(所占字符个数) Button(tex 阅读全文
posted @ 2019-11-02 15:57 样子2018 阅读(1550) 评论(0) 推荐(0)
摘要: 一、参数说明 语法作用 Label(window,text=‘xxxxx’) 需要在界面显示的Label标签内容 Label(window,text=‘xxxxx’,height=2) 组件的高度(所占行数) Label(root,text=‘xxxxx’,height=2,width=20) 组件 阅读全文
posted @ 2019-11-02 15:07 样子2018 阅读(2953) 评论(0) 推荐(0)
摘要: 一、常用参数 语法作用 window= tk.TK() 创建窗口 window['height'] = 300 设置高 window['width'] = 500 设置宽 window.title('魔方小站') 设置标题 window['bg'] = '#0099ff' 设置背景色 window. 阅读全文
posted @ 2019-11-02 13:49 样子2018 阅读(4292) 评论(0) 推荐(2)
摘要: 一、request封装 request(url, data, successCallBack = function (data) {}, completeCallBack = function (data) {}, method = "GET", dataType = 'json', respons 阅读全文
posted @ 2019-10-31 17:01 样子2018 阅读(900) 评论(0) 推荐(0)
摘要: 一、设置borderStyle 二、设置page样式 三、效果 阅读全文
posted @ 2019-10-26 16:14 样子2018 阅读(3089) 评论(0) 推荐(0)
摘要: 一、效果图 二、代码 阅读全文
posted @ 2019-10-26 09:22 样子2018 阅读(8739) 评论(0) 推荐(0)
摘要: 一、下载 链接:https://pan.baidu.com/s/1D6vNSSBZI22_K1BzLEXpbg 提取码:of6g 修改binding.js中的window.bind=binding为如下: 二、示例 三、参考算法 https://blog.csdn.net/jiexiaopei_20 阅读全文
posted @ 2019-10-25 10:29 样子2018 阅读(4556) 评论(2) 推荐(1)
上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 52 下一页