Config Windowの各項目Callback関数をmain.pyコントローラで実行できるように

This commit is contained in:
Sakamoto Shiina
2023-09-01 02:25:00 +09:00
parent ed88a5b886
commit 799a1a27bb
10 changed files with 282 additions and 61 deletions

View File

@@ -9,4 +9,7 @@ def get_key_by_value(dictionary, value):
for key, val in dictionary.items():
if val == value:
return key
return None
return None
def callFunctionIfCallable(function, *args):
if callable(function) is True: function(*args)