diff options
author | emkael <emkael@tlen.pl> | 2019-06-21 18:21:04 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2019-06-21 18:21:04 +0200 |
commit | 4bc692539d595dec783e6576f1568fbcaa0fef69 (patch) | |
tree | 118e80f3ed67c6589c6b2f18cae0c4722f9b4c68 /jfr_playoff/gui/tabs.py | |
parent | 07c5f4bb55f17d84319a3d424329a81637d2bafd (diff) |
Phase mathes GUI
Diffstat (limited to 'jfr_playoff/gui/tabs.py')
-rw-r--r-- | jfr_playoff/gui/tabs.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/jfr_playoff/gui/tabs.py b/jfr_playoff/gui/tabs.py index 3bace44..e72b3c3 100644 --- a/jfr_playoff/gui/tabs.py +++ b/jfr_playoff/gui/tabs.py @@ -164,6 +164,14 @@ class MatchesTab(PlayoffTab): def title(self): return 'Mecze' + def renderContent(self, container): + self.phase = MatchPhaseFrame(container, vertical=True) + self.phase.pack(side=tk.TOP, fill=tk.BOTH, expand=True) + + def getMatches(self): + return [w for w in self.phase.matches.widgets + if isinstance(w, MatchSettingsFrame)] + class SwissesTab(PlayoffTab): @property def title(self): |