summaryrefslogtreecommitdiff
path: root/jfr_playoff/gui/frames/__init__.py
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2019-06-06 13:03:37 +0200
committeremkael <emkael@tlen.pl>2019-06-06 13:03:37 +0200
commit0335f4b6cd470ffd27930a4b08596a15ea4c1137 (patch)
tree612bbce962e7035be8b4d81290414ac4e375fec5 /jfr_playoff/gui/frames/__init__.py
parent85230f1914d5d7061848b0051dcd2d7975b09ada (diff)
Common parent class for GUI frames
Diffstat (limited to 'jfr_playoff/gui/frames/__init__.py')
-rw-r--r--jfr_playoff/gui/frames/__init__.py8
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)