Mercurial > fife-parpg
diff clients/pychan_demo/pychan_test.py @ 330:33dd55160a9d
* Added a new method Widget.getNamedChildren
* Made the distribute and mapEvents methods (a whole lot) faster.
* Added a new (internal) attribute to Widget (has_name)
* Added a small decorator for profiling rarely called functions.
author | phoku@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Mon, 24 Aug 2009 11:45:28 +0000 |
parents | 51cc05d862f2 |
children | 48c99636453e |
line wrap: on
line diff
--- a/clients/pychan_demo/pychan_test.py Mon Aug 24 10:01:06 2009 +0000 +++ b/clients/pychan_demo/pychan_test.py Mon Aug 24 11:45:28 2009 +0000 @@ -25,7 +25,7 @@ def __init__(self,xmlFile): self.xmlFile = xmlFile self.widget = None - + def start(self): """ The Example Protocoll: start @@ -43,6 +43,9 @@ self.widget.mapEvents(eventMap, ignoreMissing = True) self.widget.show() + #from pprint import pprint + #pprint(self.widget.getNamedChildren()) + def stop(self): """ The Example Protocoll: stop