[Python-checkins] python/dist/src/Mac/OSX/PythonLauncher/English.lproj/MyDocument.nib classes.nib,NONE,1.1 info.nib,NONE,1.1 objects.nib,NONE,1.1

jackjansen@users.sourceforge.net jackjansen@users.sourceforge.net
Mon, 29 Jul 2002 14:36:37 -0700


Update of /cvsroot/python/python/dist/src/Mac/OSX/PythonLauncher/English.lproj/MyDocument.nib
In directory usw-pr-cvs1:/tmp/cvs-serv6673/English.lproj/MyDocument.nib

Added Files:
	classes.nib info.nib objects.nib 
Log Message:
First stab at the launcher application. This will be run when the user
doubleclicks a .py, .pyw or .pyc file. It runs the file by invoking the
relevant interpreter (either the command line Python in a terminal window
or a Python.app for GUI-based scripts). Interpreter to use and the options
to pass are settable through preferences.

If PythonLauncher wasn't running it does its thing for one script and exits.
If it was manually started before a dialog is presented where the user
can set the options to use, etc.

To be done:
- option-drag/doubleclick should always open the interactive dialog
- Terminal-window isn't done yet
- Should be reimplemented in Python, but pyobjc isn't part of the core.
- Various menu entries should be disabled.


--- NEW FILE: classes.nib ---
{
    IBClasses = (
        {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; }, 
        {
            ACTIONS = {do_apply = id; do_cancel = id; do_reset = id; do_run = id; }; 
            CLASS = MyDocument; 
            LANGUAGE = ObjC; 
            OUTLETS = {
                commandline = NSTextField; 
                debug = NSButton; 
                inspect = NSButton; 
                interpreter = NSTextField; 
                nosite = NSButton; 
                optimize = NSButton; 
                others = NSTextField; 
                tabs = NSButton; 
                verbose = NSButton; 
                with_terminal = NSButton; 
            }; 
            SUPERCLASS = NSDocument; 
        }
    ); 
    IBVersion = 1; 
}
--- NEW FILE: info.nib ---
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
<plist version="0.9">
<dict>
	<key>IBDocumentLocation</key>
	<string>265 40 356 240 0 0 800 578 </string>
	<key>IBFramework Version</key>
	<string>263.2</string>
	<key>IBOpenObjects</key>
	<array>
		<integer>5</integer>
	</array>
	<key>IBSystem Version</key>
	<string>5S66</string>
</dict>
</plist>

--- NEW FILE: objects.nib ---
(This appears to be a binary file; contents omitted.)