MCPcopy Create free account
hub / github.com/Image-Py/imagepy / FileDrop

Class FileDrop

imagepy/ui/mainframe.py:21–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19import wx.lib.agw.aui as aui
20
21class FileDrop(wx.FileDropTarget):
22 def OnDropFiles(self, x, y, path):
23 print(["Open>{'path':'%s'}"%i for i in path])
24 Macros('noname', ["Open>{'path':'%s'}"%i.replace('\\', '/') for i in path]).start()
25 return 0
26
27class ImagePy(wx.Frame):
28 def __init__( self, parent ):

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected