1 Star 6 Fork 6

cheney/tkinter界面展示

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
test_basic_widgets.py 1.20 KB
一键复制 编辑 原始数据 按行查看 历史
cheney 提交于 2021-08-16 22:41 +08:00 . Commit
from win import Win
from basic_widgets import *
# some functions are not testing myself, if any bugs please fix first then run again
# it should be a minor problem
def test_win():
win = Win()
win.check_configure()
win.run()
def test_Frame():
frm = FrameCustom()
frm.resource_set_test()
def test_LabelFrame():
label_frm = LabelFrameCustom()
label_frm.resource_set_test()
def test_Label():
label = LabelCustom()
label.resource_set_test()
def test_Entry():
entry = EntryCustom()
entry.resource_set_test()
entry.methods_entry_test()
def test_Scrollbar():
scrollbar = ScrollbarCustom()
scrollbar.resource_set_test()
scrollbar.methods_entry_test()
def test_Button():
btn = ButtonCustom()
btn.resource_set_test()
btn.methods_entry_test()
def test_Checkbutton():
checkbutton = CheckbuttonCustom()
checkbutton.resource_set_test()
checkbutton.methods_entry_test()
def test_Radiobutton():
radiobutton = RadiobuttonCustom()
radiobutton.resource_set_test()
radiobutton.methods_entry_test()
def test_Scale():
scale = ScaleCustom()
scale.resource_set_test()
scale.methods_entry_test()
if __name__ == '__main__':
test_win()
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/cheneykids/tkinter-interface-display.git
git@gitee.com:cheneykids/tkinter-interface-display.git
cheneykids
tkinter-interface-display
tkinter界面展示
master

搜索帮助