Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions tkinterdnd2/TkinterDnD.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,13 @@ class Tk(tkinter.Tk, DnDWrapper):
def __init__(self, *args, **kw):
tkinter.Tk.__init__(self, *args, **kw)
self.TkdndVersion = _require(self)

class Frame(tkinter.Frame, DnDWrapper):
'''Creates a new instance of a tkinter.Frame() window; all methods of
the DnDWrapper class apply to this window and all its descendants.'''
def __init__(self, *args, **kw):
tkinter.Frame.__init__(self, *args, **kw)
self.TkdndVersion = _require(self)

class TixTk(tix.Tk, DnDWrapper):
'''Creates a new instance of a tix.Tk() window; all methods of the
Expand Down