[Update] Main Window: Textbox デザイン大幅変更。テスト用or今後ユーザーがデザインカスタム設定する際に使えるサンプルとして会話を挿入する関数追加。

This commit is contained in:
Sakamoto Shiina
2023-09-15 09:51:41 +09:00
parent f27e4985cd
commit cbef891fe8
5 changed files with 239 additions and 47 deletions

View File

@@ -125,22 +125,14 @@ class VRCT_GUI(CTk):
target_names=target_names,
)
def printToTextbox(self, target_type, original_message=None, translated_message=None):
def printToTextbox(self, target_type, original_message=None, translated_message=None, actual_sent_message=None):
_printToTextbox(
vrct_gui=self,
settings=self.settings.main,
target_type=target_type,
original_message=original_message,
translated_message=translated_message,
tags=target_type,
)
# To automatically print the same log to the textbox_all widget as well.
_printToTextbox(
vrct_gui=self,
settings=self.settings.main,
target_type="ALL",
original_message=original_message,
translated_message=translated_message,
actual_sent_message=actual_sent_message,
tags=target_type,
)