| 1144 | self.canvas.unbind("<Motion>") |
| 1145 | |
| 1146 | def enable_toolbar(self, event = None): |
| 1147 | #Enable all buttons |
| 1148 | self.canvas.grab_release() |
| 1149 | #Enable mouse action |
| 1150 | self.canvas.bind("<Button-1>", self.mouse_select) |
| 1151 | self.canvas.bind("<Double-Button-1>" , self.change_dir) |
| 1152 | self.canvas.bind("<Control-Button-1>", self.ctrl_select) |
| 1153 | self.canvas.bind("<B1-Motion>", self.drag_select) |
| 1154 | self.canvas.bind("<Motion>", self.update_status_and_mouse) |
| 1155 | |
| 1156 | def start_wait(self, event = None): |
| 1157 | if(self.change_status is False): return |