CustomTkinter
CustomTkinter copied to clipboard
there is no menu i can not find it
i have to use tkinter menu farthermore it is not warking
self.menu = Menu(master=root, tearoff=False)
self.menu.add_command(label="Copy", command=self.copy)
self.menu.add_command(label="Paste", command=self.paste)
self.menu.add_command(label="Cut", command=self.cut)
self.menu.add_separator()
self.menu.add_command(label="Select all", command=self.select_all)
self.menu.add_separator()
self.menu.add_command(label="About", command=self.about)
root.bind("<Button - 3>", self.mypopup)
def mypopup(self, e):
self.menu.tk_popup(e.x_root, e.y_root)
def copy(self):
self.ent.event_generate("<<Copy>>")
def paste(self):
self.ent.event_generate("<<Paste>>")
def cut(self):
self.ent.event_generate("<<Cut>>")
def select_all(self):
self.ent.event_generate("<<SelectAll>>")
def about(self):
pass
What do you mean by it is not working?
i have to use tkinter menu farthermore it is not working
yeah i've researched and the Menu widget isn't implemented in the customtkinter and some others widgets too
it is not working because it is not exist๐๐๐
i used tkinter menu but the it does not have any functionality i used for copy pyautogui.hotkey("ctrl", "c") i will put my whole code in my repository