CustomTkinter
CustomTkinter copied to clipboard
Control-z and Control-Y doesn't work in ctktextbox
I am using CustomTkinter to make my own application. I have created a textbox in the program. It lets me to copy and paste but not to redo or undo.
I have tried solutions online but they are for tkinter and do not work in customtkinter. My whole point of using customtkinter is for better looking GUIs. Below is the following code for making a textbox I used.
self.Entry = CTk.CTkTextbox(self, width=816, height=420, font=self.FontList)
self.Entry.grid(row=1, column=0)
Thank You
Vihaan Mody
@Vihaanmody21 Duplicate of https://github.com/TomSchimansky/CustomTkinter/discussions/2010
The solution doesn't work for me. I already saw this question.
@Vihaanmody21 Duplicate of #2010
redo doesn't work
I don't know if you already solve you issue, but to redo type Ctrl + Y instead of Ctrl + Shift + Z (as in others text editors), with the undo=True in the CTkTextbox declaration.
Uhm.. Actually i've tried redo too. But it paste the clipboard text instead. Plus, it looks like the undo is binded by default when i add undo=True, but when i'm back to my initial text typing Ctrl-z and i undo once more, it completely delete anything in my widget...