diff options
author | emkael <emkael@tlen.pl> | 2019-07-26 10:09:46 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2019-07-26 10:09:46 +0200 |
commit | 1bd3c0c9de01555435559b242c864fcd2a712579 (patch) | |
tree | 6758cdc54f386d52c3947141b75d23931ef6134f /jfr_playoff/gui/__init__.py | |
parent | 7879c847b3b1aa2a9b6775e38dbad22de5b37e96 (diff) |
Logging facilities for GUI
Diffstat (limited to 'jfr_playoff/gui/__init__.py')
-rw-r--r-- | jfr_playoff/gui/__init__.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/jfr_playoff/gui/__init__.py b/jfr_playoff/gui/__init__.py index a0dedc9..5981fc0 100644 --- a/jfr_playoff/gui/__init__.py +++ b/jfr_playoff/gui/__init__.py @@ -12,6 +12,7 @@ from .tabs import * from .icons import GuiImage from .frames import LabelButton, NumericSpinbox from .variables import NumericVar +from .logframe import LogWindow class PlayoffGUI(tk.Tk): def __init__(self): @@ -20,6 +21,7 @@ class PlayoffGUI(tk.Tk): ttk.Style().configure('TLabelframe', padding=5) self.geometry('920x640') self.tabs = {} + self.logWindow = LogWindow(self) self._buildMenu() self.newFileIndex = 0 self._title = tk.StringVar() @@ -144,7 +146,8 @@ class PlayoffGUI(tk.Tk): pass def onLogWindowOpen(self): - pass + self.logWindow.update() + self.logWindow.deiconify() def newFile(self): self._filepath = None |