zasim.gui.display - Main display class

Inheritance diagram of zasim.gui.display

class zasim.gui.display.ZasimDisplay(simulator)[source]

Bases: object

Instantiate a Display (thas is: a window with a display widget and simulation controls) from a simulator.

Parameters:simulator – The simulator to use.
simulator = None

The Simulator object for this display.

display = None

The BaseDisplayWidget in use.

control = None

The ControlWidget in use.

window = None

The ZasimMainWindow instance in use.

set_scale(scale)[source]

Sets the scale of the display component.

Previous topic

zasim.gui.main - Running the gui from the commandline

Next topic

zasim.gui.bases - Base classes for the gui

This Page