specify window parameters on the constructor
parent
86604b1f04
commit
8c4f0a02bc
4
main.py
4
main.py
|
@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in New Issue