質問編集履歴
2
tkdnd.pyの修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -116,7 +116,7 @@
|
|
116
116
|
|
117
117
|
if tkdndlib:
|
118
118
|
|
119
|
-
|
119
|
+
tkroot.tk.eval('global auto_path; lappend auto_path {%s}' % tkdndlib)
|
120
120
|
|
121
121
|
try:
|
122
122
|
|
1
編集部分の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -314,7 +314,7 @@
|
|
314
314
|
|
315
315
|
|
316
316
|
|
317
|
-
def drop_target_register(self,
|
317
|
+
def drop_target_register(self, *dndtypes):
|
318
318
|
|
319
319
|
self.tk.call('tkdnd::drop_target', 'register', self._w, dndtypes)
|
320
320
|
|
@@ -392,13 +392,13 @@
|
|
392
392
|
|
393
393
|
```python3
|
394
394
|
|
395
|
-
import
|
395
|
+
from tkdnd import *
|
396
396
|
|
397
397
|
from tkinter import ttk
|
398
398
|
|
399
399
|
|
400
400
|
|
401
|
-
root =
|
401
|
+
root = Tk()#ウィンドウ
|
402
402
|
|
403
403
|
|
404
404
|
|
@@ -424,13 +424,13 @@
|
|
424
424
|
|
425
425
|
```python3
|
426
426
|
|
427
|
-
import
|
427
|
+
from tkinter import *
|
428
428
|
|
429
429
|
import tkinter
|
430
430
|
|
431
431
|
|
432
432
|
|
433
|
-
root =
|
433
|
+
root = Tk()#ウィンドウ
|
434
434
|
|
435
435
|
|
436
436
|
|