From c94156cbce4634c3c21dbd826587042c9dc82033 Mon Sep 17 00:00:00 2001 From: wuziqian211 <65224318+wuziqian211@users.noreply.github.com> Date: Mon, 6 Nov 2023 00:15:27 +0800 Subject: [PATCH] Update tchMaterial-parser.pyw --- src/tchMaterial-parser.pyw | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tchMaterial-parser.pyw b/src/tchMaterial-parser.pyw index 6e30404..2d22c26 100644 --- a/src/tchMaterial-parser.pyw +++ b/src/tchMaterial-parser.pyw @@ -293,9 +293,9 @@ url_text.pack(padx=int(15 * scale), pady=int(15 * scale)) # 设置水平外边 # 创建右键菜单 context_menu = tk.Menu(root, tearoff=0) -context_menu.add_command(label="剪切(Ctrl + X)", command=lambda: url_text.event_generate("<>")) -context_menu.add_command(label="复制(Ctrl + C)", command=lambda: url_text.event_generate("<>")) -context_menu.add_command(label="粘贴(Ctrl + V)", command=lambda: url_text.event_generate("<>")) +context_menu.add_command(label="剪切 (Ctrl + X)", command=lambda: url_text.event_generate("<>")) +context_menu.add_command(label="复制 (Ctrl + C)", command=lambda: url_text.event_generate("<>")) +context_menu.add_command(label="粘贴 (Ctrl + V)", command=lambda: url_text.event_generate("<>")) # 绑定右键菜单到文本框(3 代表鼠标的右键按钮) url_text.bind("", lambda event: context_menu.post(event.x_root, event.y_root))