view.pyへの分離完了(messageBoxPressKeyAnyをgui内部に移動、使わなくなったconfig.pyのBREAK_KEYSYM_LISTは一旦コメントアウト)

This commit is contained in:
Sakamoto Shiina
2023-08-31 00:43:10 +09:00
parent fde7ea6a75
commit be5a0e386f
3 changed files with 21 additions and 15 deletions

View File

@@ -1,9 +1,6 @@
from threading import Thread
import customtkinter
from vrct_gui import vrct_gui
from config import config
from model import model
from customtkinter import StringVar
from view import view
# func transcription send message
@@ -103,11 +100,6 @@ def messageBoxPressKeyEnter(e):
def messageBoxPressKeyAny(e):
model.oscStartSendTyping()
entry_message_box = getattr(vrct_gui, "entry_message_box")
if e.keysym != "??":
if len(e.char) != 0 and e.keysym in config.BREAK_KEYSYM_LIST:
entry_message_box.insert("end", e.char)
return "break"
# func select languages
def setYourLanguageAndCountry(select):