• Home
  • History
  • Annotate
  • only in this directory
NameDateSize

..24-Jun-200925

MainMenu.nib/H09-Jun-20145

PythonBrowser.nib/H09-Jun-20145

PythonBrowser.pyH A D23-Jun-20093.7 KiB

PythonBrowserModel.pyH A D23-Jun-20095.8 KiB

readme.txtH A D23-Jun-2009957

setup.pyH A D23-Jun-2009217

summary.txtH A D23-Jun-2009175

readme.txt

1a module and/or demo program implementing a Python object browser
2=================================================================
3
4It can be used in two ways:
51) as a standalone demo app that shows how to use the NSOutlineView class
62) as a module to add an object browser to your app.
7
8For the latter usage, include PythonBrowser.nib in your app bundle,
9make sure that PythonBrowser.py and PythonBrowserModel.py can be found
10on sys.path, and call
11
12.. ::
13
14    PythonBrowser.PythonBrowserWindowController(aBrowsableObject)
15
16from your app. The object to be browsed can't be a number, a string or
17None, any other kind of object is fine.
18
19To build the demo program, run this line in Terminal.app::
20
21   $ python setup.py py2app -A
22
23This creates a directory "dist" containing PythonBrowser.app. (The
24-A option causes the files to be symlinked to the .app bundle instead
25of copied. This means you don't have to rebuild the app if you edit the
26sources or nibs.)
27
28