Older stuff/Tests_alias_TKinter_gui.py
def run_button_action(self):
        """
        Runs the simulation after clicking the Run button. Depending on the
            previous state, it either starts a completely new simulation, or
            continue with the previous one.
        Do not perform any action when the simulation is already running.
        """

        if self.simulation_state == "running":
            return

        # Prepare for the simulation (unless in paused state)
        if self.simulation_state != "paused":
            self.prepare_simulation_with_chosen_material()

        self.simulation_state = "running"
        self.run_button["bd"] = 20
        self.pause_button["bd"] = 2
        self.stop_button["bd"] = 2

        self.make_sim_step()

        Runs the simulation after clicking the Run button. Depending on the
            previous state, it either starts a completely new simulation, or
            continue with the previous one.
        Do not perform any action when the simulation is already running.
        
Runs the simulation after clicking the Run button. Depending on the
previous state, it either starts a completely new simulation, or
continue with the previous one.
Do not perform any action when the simulation is already running.
Runs the simulation after clicking the Run button . Depending on the previous state it either starts a completely new simulation or continue with the previous one . Do not perform any action when the simulation is already running .
def run_button_action(self):
        if self.simulation_state == "running":
            return
        if self.simulation_state != "paused":
            self.prepare_simulation_with_chosen_material()
        self.simulation_state = "running"
        self.run_button["bd"] = 20
        self.pause_button["bd"] = 2
        self.stop_button["bd"] = 2
        self.make_sim_step()
def run_button_action ( self ) : if self . simulation_state == "running" : return if self . simulation_state != "paused" : self . prepare_simulation_with_chosen_material ( ) self . simulation_state = "running" self . run_button [ "bd" ] = 20 self . pause_button [ "bd" ] = 2 self . stop_button [ "bd" ] = 2 self . make_sim_step ( )
Runs the simulation after clicking the Run button.
Runs the simulation after clicking the Run button .
"""
        Runs the simulation after clicking the Run button. Depending on the
            previous state, it either starts a completely new simulation, or
            continue with the previous one.
        Do not perform any action when the simulation is already running.
        """ # Prepare for the simulation (unless in paused state)
self