Untitled
unknown
plain_text
a year ago
471 B
9
Indexable
class Textbox(CTkTextbox): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs, border_width=2) def clear(self): super().configure(state='normal') super().delete("0.0", "end") super().configure(state='disabled') def clear2(self): self.configure(state='normal') # enable writing self.delete("0.0", "end") # delete all text self.configure(state='disabled') # make it read-only
Editor is loading...
Leave a Comment