[Refactor] createGUIを、createGUIとshowGUIに分割。createGUIでは画面を表示せず中身の組み立てや関数登録。showGUIで表示するように。

その他関数名変更(vrct_gui. から呼ぶ関数はすべてアンダーバーをつける。view.pyで呼ばれる関数と区別するため。)
This commit is contained in:
Sakamoto Shiina
2023-10-11 13:08:59 +09:00
parent a870efc44b
commit 61ecbe1e84
8 changed files with 55 additions and 42 deletions

View File

@@ -17,7 +17,7 @@ class ConfigWindow(CTkToplevel):
self.configure(fg_color="#ff7f50")
self.protocol("WM_DELETE_WINDOW", vrct_gui.closeConfigWindow)
self.protocol("WM_DELETE_WINDOW", vrct_gui._closeConfigWindow)
self.settings = settings
self._view_variable = view_variable