質問編集履歴
1
tkinterに戻しました
title
CHANGED
File without changes
|
body
CHANGED
@@ -7,15 +7,15 @@
|
|
7
7
|
### 該当のソースコード
|
8
8
|
|
9
9
|
```python
|
10
|
-
import
|
10
|
+
import tkinter as tk
|
11
11
|
|
12
12
|
def new_tk():
|
13
13
|
app2 = tk.Tk()
|
14
|
-
but2 = tk.Button(
|
14
|
+
but2 = tk.Button(text='quit',command="ここに二つのウィンドウを消すコマンド")
|
15
15
|
but2.place(x=100,y=200)
|
16
16
|
|
17
17
|
app = tk.Tk
|
18
|
-
but = tk.Button(
|
18
|
+
but = tk.Button(text='new',command=new_tk)
|
19
19
|
but.place(x=100,y=200)
|
20
20
|
|
21
21
|
```
|