We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5b94af commit 3cf8a3dCopy full SHA for 3cf8a3d
Notepad/notepad.py
@@ -332,6 +332,8 @@ def send_feedback():
332
333
menubar.add_cascade(label="Help",menu=Help)
334
335
+# ======================== Right Click Menu =========================================
336
+
337
m = Menu(root, tearoff = 0)
338
m.add_command(label ="Select All",accelerator="Ctrl+A",command=select_all)
339
m.add_command(label ="Cut",accelerator="Ctrl+X",command=cut)
@@ -350,6 +352,8 @@ def do_popup(event):
350
352
351
353
root.bind("<Button-3>", do_popup)
354
355
+# ==============================================================================
356
357
root.config(menu=menubar)
358
root.mainloop()
359
0 commit comments