specify window parameters on the constructor

master
BodgeMaster 2022-03-20 10:39:58 +01:00
parent 86604b1f04
commit 8c4f0a02bc
1 changed files with 1 additions and 3 deletions

View File

@ -28,9 +28,7 @@ configuration = Config(configuration_file_path, default_configuration)
# It seems like opening multiple instances already works as intended # It seems like opening multiple instances already works as intended
main_window = gui_handler.Window() main_window = gui_handler.Window(title="Concorde IDE", size=(configuration.get_configuration_value("window size")["x"], configuration.get_configuration_value("window size")["y"]))
main_window.set_title("Concorde IDE")
main_window.set_size(configuration.get_configuration_value("window size")["x"], configuration.get_configuration_value("window size")["y"])
main_window.update_menus(gui_helper.menu_structure) main_window.update_menus(gui_helper.menu_structure)