add view.py: main.pyからUIの初期設定処理をview.py移動。その他一部関数名の変更など。

This commit is contained in:
Sakamoto Shiina
2023-08-30 15:13:33 +09:00
parent 28d1dbb47e
commit 13d4a84e7f
9 changed files with 82 additions and 54 deletions

View File

@@ -83,7 +83,7 @@ def unbindEventFromActiveTabWidget(active_tab_widget):
active_tab_widget.unbind(event_name)
active_tab_widget.children["!ctklabel"].unbind(event_name)
def setDefaultActiveTab(active_tab_widget, active_bg_color, active_text_color):
def _setDefaultActiveTab(active_tab_widget, active_bg_color, active_text_color):
active_tab_widget.configure(fg_color=active_bg_color, cursor="")
active_tab_widget.children["!ctklabel"].configure(fg_color=active_bg_color, text_color=active_text_color)
unbindEventFromActiveTabWidget(active_tab_widget)