]> git.saurik.com Git - wxWidgets.git/blob - wxPython/wx/py/PyFilling.py
Applied patch [ 827011 ] Event-based processing of item tooltips in wxTreeCtrl
[wxWidgets.git] / wxPython / wx / py / PyFilling.py
1 """PyFilling is a python namespace inspection application."""
2
3 __author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
4 __cvsid__ = "$Id$"
5 __revision__ = "$Revision$"[11:-2]
6
7 # We use this object to get more introspection when run standalone.
8 app = None
9
10 import filling
11
12 # These are imported just to have something interesting to inspect.
13 import crust
14 import interpreter
15 import introspect
16 import pseudo
17 import shell
18 import sys
19 import wx
20
21 try:
22 True
23 except NameError:
24 True = 1==1
25 False = 1==0
26
27
28 class App(filling.App):
29 def OnInit(self):
30 filling.App.OnInit(self)
31 self.root = self.fillingFrame.filling.tree.root
32 return True
33
34 def main():
35 """Create and run the application."""
36 global app
37 app = App(0)
38 app.fillingFrame.filling.tree.Expand(app.root)
39 app.MainLoop()
40
41
42 if __name__ == '__main__':
43 main()