forked from Wobbl/Wobuzz
Added "library_path" setting, added a gui for the settings, changed the window layout and did a bunch of other things.
This commit is contained in:
parent
259ec72442
commit
6498f43d5f
10 changed files with 124 additions and 37 deletions
|
@ -1,6 +1,8 @@
|
|||
#!/usr/bin/python3
|
||||
|
||||
from .menu_bar import MenuBar
|
||||
from .track_control import TrackControl
|
||||
from .settings import Settings
|
||||
|
||||
|
||||
class GUICommunication:
|
||||
|
@ -11,13 +13,15 @@ class GUICommunication:
|
|||
def __init__(self, app):
|
||||
self.app = app
|
||||
|
||||
self.menu_bar = MenuBar(self.app)
|
||||
self.track_control = TrackControl(self.app)
|
||||
self.settings = Settings(self.app)
|
||||
|
||||
self.connect()
|
||||
|
||||
def connect(self):
|
||||
pass
|
||||
self.settings.update_all()
|
||||
|
||||
def on_track_start(self):
|
||||
self.track_control.on_track_start()
|
||||
|
||||
def on_settings_change(self, key, value):
|
||||
self.settings.update_settings(key, value)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue