Changes

Jump to navigation Jump to search
Line 107: Line 107:  
It also defines the threads that respond to the various events that occur within  the GUI environment and the various devices connected to the zynthian like Keyboards both musical and QWERTY, mice and all manner of MIDI paraphernalia.  
 
It also defines the threads that respond to the various events that occur within  the GUI environment and the various devices connected to the zynthian like Keyboards both musical and QWERTY, mice and all manner of MIDI paraphernalia.  
   −
Then the zynthian_gui Object is defined.
+
Then the zynthian_gui Object is defined.
 
  −
=== zyngui/zynthian_gui.py ===
  −
 
  −
/home/pi/zynthian-ui/zyngui/zynthian_gui.py
  −
 
  −
This module primarily defines the zynthian_gui class object with a few tkinter helper functions
  −
and this is what actually handles all the GUI interaction and functionality.
  −
 
  −
It's about 3000 lines of code and after all this definition
  −
 
  −
At line 1775 or there abouts we get
  −
 
  −
* logging.info("STARTING ZYNTHIAN-UI ...")
  −
Always good to log and use the python logging infrastructure.
  −
* zynthian_gui_config.zyngui=zyngui=zynthian_gui()
  −
 
  −
Some name binding for maintaining different names spaces or some possibly more nefereous purpose, before running
  −
* zyngui.start()
  −
 
  −
This method of the zynthian_gui class configures the GUI environment ready to start.
 
584

edits

Navigation menu