Mercurial > fife-parpg
diff clients/pychan_demo/pychan_test.py @ 125:97d6946bd917
- prepared files for new dir structure
author | chewie@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Wed, 06 Aug 2008 22:24:57 +0000 |
parents | 4a0efb7baf70 |
children | fe7ff4808529 |
line wrap: on
line diff
--- a/clients/pychan_demo/pychan_test.py Wed Aug 06 01:03:00 2008 +0000 +++ b/clients/pychan_demo/pychan_test.py Wed Aug 06 22:24:57 2008 +0000 @@ -43,7 +43,7 @@ pychan.init(self.engine,debug=True) pychan.setupModalExecution(self.mainLoop,self.breakFromMainLoop) - self.gui = pychan.loadXML('content/gui/demoapp.xml') + self.gui = pychan.loadXML('gui/demoapp.xml') eventMap = { 'creditsLink' : self.showCredits, @@ -56,9 +56,9 @@ from styling import StylingExample self.examples = { - 'Absolute Positioning' : PyChanExample('content/gui/absolute.xml'), + 'Absolute Positioning' : PyChanExample('gui/absolute.xml'), 'Basic Styling' : StylingExample(), - 'All Widgets' : PyChanExample('content/gui/all_widgets.xml'), + 'All Widgets' : PyChanExample('gui/all_widgets.xml'), 'Dynamic Widgets' : DynamicExample(), } self.demoList = self.gui.findChild(name='demoList') @@ -77,7 +77,7 @@ self.currentExample.start() def showCredits(self): - print pychan.loadXML('content/gui/credits.xml').execute({ 'okButton' : "Yay!" }) + print pychan.loadXML('gui/credits.xml').execute({ 'okButton' : "Yay!" }) class TestXMLApplication(basicapplication.ApplicationBase): """