回答編集履歴

3

複数選択の場合に言及

2020/04/05 17:30

投稿

teamikl
teamikl

スコア8664

test CHANGED
@@ -68,11 +68,31 @@
68
68
 
69
69
 
70
70
 
71
+ ----
72
+
73
+ 追記2:
74
+
75
+ > 選ぶExcel sheetは必ず1つです。
76
+
77
+
78
+
79
+ tk.Listboxの引数で複数選択に出来ます。
80
+
81
+
82
+
83
+ ```diff
84
+
85
+ - selectmode="single")
86
+
87
+ + selectmode="multiple")
88
+
89
+ ```
90
+
71
91
 
72
92
 
73
93
  ----
74
94
 
75
- 追記: Modern Python Standard Library Cookbook に
95
+ 追記1: Modern Python Standard Library Cookbook に
76
96
 
77
97
  リストから選択するダイアログ ChoiceDialogクラスの実装例がありました。
78
98
 

2

リンクを修正

2020/04/05 17:30

投稿

teamikl
teamikl

スコア8664

test CHANGED
@@ -80,4 +80,4 @@
80
80
 
81
81
 
82
82
 
83
- https://github.com/PacktPublishing/Modern-Python-Standard-Library-Cookbook/blob/master/Chapter13/gui_04.py
83
+ [Modern-Python-Standard-Library-Cookbook/Chapter13/gui_04.py](https://github.com/PacktPublishing/Modern-Python-Standard-Library-Cookbook/blob/master/Chapter13/gui_04.py)

1

参考資料追加

2020/04/05 17:24

投稿

teamikl
teamikl

スコア8664

test CHANGED
@@ -65,3 +65,19 @@
65
65
  selected = select_sheet(...)
66
66
 
67
67
  ```
68
+
69
+
70
+
71
+
72
+
73
+ ----
74
+
75
+ 追記: Modern Python Standard Library Cookbook に
76
+
77
+ リストから選択するダイアログ ChoiceDialogクラスの実装例がありました。
78
+
79
+ ソースコードがあったので、参考資料として追記します。
80
+
81
+
82
+
83
+ https://github.com/PacktPublishing/Modern-Python-Standard-Library-Cookbook/blob/master/Chapter13/gui_04.py