(self, message)
| 504 | self.current_status.set(message) |
| 505 | |
| 506 | def update_status_red(self, message): |
| 507 | #Stop mouse-hover highlighting |
| 508 | self.canvas.itemconfig(self.rect_id, outline = '') |
| 509 | self.canvas.coords(self.rect_id, -1, -1, -1, -1) |
| 510 | #Display message in status bar in red color only if change_status is true else ignore it |
| 511 | if self.change_status is True: |
| 512 | self.status_label.configure(style = 'Red.TLabel') |
| 513 | self.current_status.set(message) |
| 514 | self.problem() |
| 515 | |
| 516 | def lock_status_bar(self): |
| 517 | self.change_status = False |
no test coverage detected