show2.py performance code¶
The show2.py
script is the reference example for the final performance
system, packaged as show2.zip. The individual files
can be browsed at show2.py and kf.
A show control system with GUI.
-
class
show2.
AppWindow
(main)[source]¶ A custom main window which provides all GUI controls. This generally follows a model-view-controller convention in which this window provides the views, passing events to the application controller via callbacks.
-
apply_user_configuration
(config)[source]¶ Apply the persistent configuration values from a configparser section proxy object.
-
connect_callbacks
()[source]¶ Finish initializing the GUI by connecting all callbacks from GUI elements to application controller methods. This allows the log window to be set up early to capture any messages from the initialization of other object.
-
gather_configuration
(config)[source]¶ Update the persistent configuration values in a configparser section proxy object.
-
-
class
show2.
MainApp
[source]¶ Main application controller object holding any non-GUI related state.
-
dmx_remote_update
(fixture, color)[source]¶ Callback invoked when an OSC message is received with a /dmx/fixture address.
-