[Add] Config Window スレッショルドチェック時のボタンのステータス変更(disabled, normal)関数追加と処理

This commit is contained in:
Sakamoto Shiina
2023-09-05 06:57:56 +09:00
parent 936e2d9721
commit 84ebe47b89
6 changed files with 118 additions and 63 deletions

View File

@@ -6,6 +6,7 @@ from customtkinter import CTk
# from .ui_managers import ColorThemeManager, ImageFileManager, UiScalingManager
from ._changeMainWindowWidgetsStatus import _changeMainWindowWidgetsStatus
from ._changeConfigWindowWidgetsStatus import _changeConfigWindowWidgetsStatus
from ._printToTextbox import _printToTextbox
from .main_window import createMainWindowWidgets
@@ -62,6 +63,15 @@ class VRCT_GUI(CTk):
target_names=target_names,
)
def changeConfigWindowWidgetsStatus(self, status, target_names):
_changeConfigWindowWidgetsStatus(
config_window=self.config_window,
settings=self.settings.config_window,
view_variable=self._view_variable,
status=status,
target_names=target_names,
)
def printToTextbox(self, target_textbox, original_message, translated_message, tags=None):
_printToTextbox(
settings=self.settings.main,