cut text operation
(self)
| 42 | self.tk_popup(event.x_root, event.y_root) |
| 43 | |
| 44 | def cut_text(self): |
| 45 | """ cut text operation """ |
| 46 | self.copy_text() |
| 47 | try: self.widget.delete(tkinter.SEL_FIRST, tkinter.SEL_LAST) |
| 48 | except: pass |
| 49 | |
| 50 | def copy_text(self): |
| 51 | """ copy text operation """ |