MCPcopy Create free account
hub / github.com/answer-huang/dSYMTools / OnDropFiles

Method OnDropFiles

wxPython/AHDropTarget.py:13–22  ·  view source on GitHub ↗
(self, x, y, filenames)

Source from the content-addressed store, hash-verified

11 self.window = window
12
13 def OnDropFiles(self, x, y, filenames):
14 self.fileList = []
15 for filename in filenames:
16 print os.path.basename(filename)
17 #TODO: 增加对dSYM文件的支持
18 if filename.endswith(('xcarchive', 'dSYM')):
19 self.fileList.append(filename)
20
21 self.window.filesList = self.fileList
22 self.window.ShowFileType()
23
24 #def OnEnter(self, x, y, z):
25 # print x, y, z

Callers

nothing calls this directly

Calls 1

ShowFileTypeMethod · 0.45

Tested by

no test coverage detected