Components/GUISkin.py: - add possibility to access the Screen title from inside the...
authoracid-burn <acidburn@opendreambox.org>
Tue, 13 Oct 2009 21:02:22 +0000 (23:02 +0200)
committeracid-burn <acidburn@opendreambox.org>
Tue, 13 Oct 2009 21:02:22 +0000 (23:02 +0200)
commit755936c5114029219a6800b81b74ffdfbcbbfe30
treecf028d4350f2aab333634d2f67568234c1a7dfce
parentf8b2c3b18b2719f33a940576b408f66a54a7c223
Components/GUISkin.py: - add possibility to access the Screen title from inside the skin without the need to declare it inside every Screen.
Just use self.setTitle(_("yourTitle)") inside your Screens onLayoutFinish to set the Title and access it from your skinfile over for example:
<widget source="Title" render="Label" position="80,110" size="322,75" .....> if needed like inside fullscreen screens where no Border is drawn.
lib/python/Components/GUISkin.py [changed mode: 0644->0755]