X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/0a3c667bfb6a1552975c1fd2325e7435363c2bc9..6c2d3fc303542b7f77f4350974acf781a1b91c30:/lib/python/Components/GUISkin.py diff --git a/lib/python/Components/GUISkin.py b/lib/python/Components/GUISkin.py index f97dd8bd..3aa9c851 100644 --- a/lib/python/Components/GUISkin.py +++ b/lib/python/Components/GUISkin.py @@ -6,7 +6,7 @@ class GUISkin: def __init__(self): self.onLayoutFinish = [ ] - pass + self.summaries = [ ] def createGUIScreen(self, parent, desktop): for (name, val) in self.items(): @@ -32,3 +32,19 @@ class GUISkin: def close(self): self.deleteGUIScreen() + + def createSummary(self): + return None + + def addSummary(self, summary): + self.summaries.append(summary) + + def removeSummary(self, summary): + self.summaries.remove(summary) + + def setTitle(self, title): + self.instance.setTitle(title) + self.title = title + + for x in self.summaries: + x.setTitle(title)