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

Method disable_toolbar

whipFTP.py:1136–1144  ·  view source on GitHub ↗
(self, event = None)

Source from the content-addressed store, hash-verified

1134
1135
1136 def disable_toolbar(self, event = None):
1137 #Disable all buttons
1138 self.canvas.grab_set()
1139 #Disable mouse action
1140 self.canvas.unbind("<Button-1>")
1141 self.canvas.unbind("<Double-Button-1>")
1142 self.canvas.unbind("<Control-Button-1>")
1143 self.canvas.unbind("<B1-Motion>")
1144 self.canvas.unbind("<Motion>")
1145
1146 def enable_toolbar(self, event = None):
1147 #Enable all buttons

Callers 1

start_waitMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected