MCPcopy Create free account
hub / github.com/RainingComputers/whipFTP / handle_dnd

Method handle_dnd

whipFTP.py:601–606  ·  view source on GitHub ↗
(self, action, actions, type, win, X, Y, x, y, data)

Source from the content-addressed store, hash-verified

599 self.update_status(event, 'Total no. of items: ' + str(len(self.file_list)) + ' Selected: ' + str(len(self.selected_file_indices)))
600
601 def handle_dnd(self, action, actions, type, win, X, Y, x, y, data):
602 #If there is another child window, disable dnd
603 if(len(self.master.children) != 4): return
604 del self.dnd_file_list[:]
605 self.dnd_file_list = self.dnd.parse_uri_list(data)
606 self.upload_thread_dnd()
607
608 def show_dnd_icon(self, action, actions, type, win, X, Y, x, y, data):
609 #If there is another child window, disable dnd

Callers

nothing calls this directly

Calls 2

upload_thread_dndMethod · 0.95
parse_uri_listMethod · 0.80

Tested by

no test coverage detected