comparison clients/pychan_demo/dynamic.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 bb9902910067
comparison
equal deleted inserted replaced
124:d5658e6c34f5 125:97d6946bd917
19 19
20 from pychan_test import PyChanExample 20 from pychan_test import PyChanExample
21 21
22 class DynamicExample(PyChanExample): 22 class DynamicExample(PyChanExample):
23 def __init__(self): 23 def __init__(self):
24 super(DynamicExample,self).__init__('content/gui/dynamic.xml') 24 super(DynamicExample,self).__init__('gui/dynamic.xml')
25 25
26 def start(self): 26 def start(self):
27 self.widget = pychan.loadXML(self.xmlFile) 27 self.widget = pychan.loadXML(self.xmlFile)
28 self.widget.mapEvents({ 28 self.widget.mapEvents({
29 'okButton' :self.stop, 29 'okButton' :self.stop,