diff options
author | emkael <emkael@tlen.pl> | 2019-06-06 13:03:37 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2019-06-06 13:03:37 +0200 |
commit | 0335f4b6cd470ffd27930a4b08596a15ea4c1137 (patch) | |
tree | 612bbce962e7035be8b4d81290414ac4e375fec5 /jfr_playoff/gui/frames/__init__.py | |
parent | 85230f1914d5d7061848b0051dcd2d7975b09ada (diff) |
Common parent class for GUI frames
Diffstat (limited to 'jfr_playoff/gui/frames/__init__.py')
-rw-r--r-- | jfr_playoff/gui/frames/__init__.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/jfr_playoff/gui/frames/__init__.py b/jfr_playoff/gui/frames/__init__.py index dabe5e1..d1da815 100644 --- a/jfr_playoff/gui/frames/__init__.py +++ b/jfr_playoff/gui/frames/__init__.py @@ -86,6 +86,14 @@ class WidgetRepeater(tk.Frame): self._addWidget() self.widgets[i].setValue(value[i]) +class GuiFrame(tk.Frame): + def __init__(self, *args, **kwargs): + tk.Frame.__init__(self, *args, **kwargs) + self.renderContent() + + def renderContent(self): + pass + class RepeatableFrame(tk.Frame): def __init__(self, *args, **kwargs): tk.Frame.__init__(self, *args, **kwargs) |