module_that_can_invoke_gui_from_cli module#

Calculate arithmetic expressions from GUI.

define_gui_layout() list[list[Element]][source]#

Prepare design of the GUI.

Returns:

elements of the GUI

Return type:

list[list[PySimpleGUI.Element]]

define_gui_window(gui_layout: list[list[Element]]) Window[source]#

Create GUI with provided design.

Parameters:

gui_layout (list[list[PySimpleGUI.Element]]) -- design of the GUI

Returns:

designed GUI

Return type:

PySimpleGUI.Window

orchestrate_interaction(gui_window: Window) None[source]#

Control flow of the GUI.

Parameters:

gui_window (PySimpleGUI.Window) -- designed GUI

gui_calculator() None[source]#

Calculate arithmetic expressions.