MCPcopy Index your code
hub / github.com/Akascape/CTkCodeBox / cut_text

Method cut_text

CTkCodeBox/text_menu.py:44–48  ·  view source on GitHub ↗

cut text operation

(self)

Source from the content-addressed store, hash-verified

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 """

Callers

nothing calls this directly

Calls 1

copy_textMethod · 0.95

Tested by

no test coverage detected