Changes

Jump to navigation Jump to search
Line 80: Line 80:  
  zyngui.create_screens()
 
  zyngui.create_screens()
 
  zyngui.run_start_thread()
 
  zyngui.run_start_thread()
 +
 +
The zynthian configuration data is imported as zyngui, zynthian_gui and zynthian_gui_config.zyngui. They are all the same global python object. You keep the number of globals down to an absolute minimum and restrict yourself to objects. zyngui as it will hence forth be known is the Global Python object that the Zynthians GUI hangs off.
 +
 +
== Zynthian Objects ==
 +
 +
=== zyngui ===
 +
{| class="wikitable"
 +
|+ Caption text
 +
|-
 +
! Zynthian Object !! Object Definition File !! Object Name
 +
|-
 +
| zyngui || zyngui.zynthian_gui || zynthian_gui
 +
|-
 +
| Example || Example || Example
 +
|-
 +
| Example || Example || Example
 +
|}
    
=== xynthian/zynthian_gui.py ===
 
=== xynthian/zynthian_gui.py ===
584

edits

Navigation menu