无主要的修改,即将更换窗口库

This commit is contained in:
2022-05-11 15:19:40 +08:00
parent f3c5044800
commit 7357a09e5f
15 changed files with 212 additions and 190 deletions
+5 -7
View File
@@ -91,10 +91,9 @@ def __main__():
def test2():
print('???', end=' ')
disp.__root = disp.tk.Tk()
disp.initWindow(
window = disp.disp(
disp.root,
geometry='1200x800',
menuWidget={
'文件': {'新建': test, '打开': test},
@@ -102,8 +101,8 @@ def __main__():
'视图': {'缩放': test},
'帮助': {'关于': disp.authorWindowStarter},
},
title_='音·创 0.2 测试中',
button=[
title='音·创 0.2 测试中',
buttons=[
{
'新建': ('', test2),
'打开': ('', test2)
@@ -112,10 +111,9 @@ def __main__():
'测试': ('', test2)
}
],
Debug=True,
debug=True,
)
disp.winstart()
if __name__ == '__main__':