]> git.saurik.com Git - wxWidgets.git/blame - wxPython/wx/py/PyFilling.py
Allow the frame (if there is one) to resize the toolbar after Realize
[wxWidgets.git] / wxPython / wx / py / PyFilling.py
CommitLineData
d14a1e28 1"""PyFilling is a python namespace inspection application."""
1fded56b 2
d14a1e28
RD
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.
8app = None
9
10import filling
11
12# These are imported just to have something interesting to inspect.
13import crust
14import interpreter
15import introspect
16import pseudo
17import shell
18import sys
19import wx
20
d14a1e28
RD
21class App(filling.App):
22 def OnInit(self):
23 filling.App.OnInit(self)
24 self.root = self.fillingFrame.filling.tree.root
25 return True
26
27def main():
28 """Create and run the application."""
29 global app
30 app = App(0)
31 app.fillingFrame.filling.tree.Expand(app.root)
32 app.MainLoop()
1fded56b 33
8b9a4190
RD
34if __name__ == '__main__':
35 main()