[Refactor] createGUIを、createGUIとshowGUIに分割。createGUIでは画面を表示せず中身の組み立てや関数登録。showGUIで表示するように。
その他関数名変更(vrct_gui. から呼ぶ関数はすべてアンダーバーをつける。view.pyで呼ばれる関数と区別するため。)
This commit is contained in:
@@ -600,7 +600,7 @@ def callbackSetOscPort(value):
|
||||
print("callbackSetOscPort", int(value))
|
||||
config.OSC_PORT = int(value)
|
||||
|
||||
def showMainWindow():
|
||||
def createMainWindow():
|
||||
# create GUI
|
||||
view.createGUI()
|
||||
|
||||
@@ -710,4 +710,5 @@ def showMainWindow():
|
||||
},
|
||||
)
|
||||
|
||||
def showMainWindow():
|
||||
view.startMainLoop()
|
||||
Reference in New Issue
Block a user