From 3bbb617ca4195af7fb9ce5751a78dd6ca3d27e16 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Mon, 29 Jul 2002 21:36:35 +0000 Subject: 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. --- .../PreferenceWindow.nib/classes.nib | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Mac/OSX/PythonLauncher/PreferenceWindow.nib/classes.nib (limited to 'Mac/OSX/PythonLauncher/PreferenceWindow.nib/classes.nib') diff --git a/Mac/OSX/PythonLauncher/PreferenceWindow.nib/classes.nib b/Mac/OSX/PythonLauncher/PreferenceWindow.nib/classes.nib new file mode 100644 index 0000000000..2a07ee11c6 --- /dev/null +++ b/Mac/OSX/PythonLauncher/PreferenceWindow.nib/classes.nib @@ -0,0 +1,25 @@ +{ + IBClasses = ( + {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; }, + { + ACTIONS = {do_apply = id; do_filetype = id; do_reset = id; }; + CLASS = PreferencesWindowController; + LANGUAGE = ObjC; + OUTLETS = { + commandline = NSTextField; + debug = NSButton; + filetype = NSPopUpButton; + inspect = NSButton; + interpreter = NSTextField; + nosite = NSButton; + optimize = NSButton; + others = NSTextField; + tabs = NSButton; + verbose = NSButton; + with_terminal = NSButton; + }; + SUPERCLASS = NSWindowController; + } + ); + IBVersion = 1; +} \ No newline at end of file -- cgit v1.2.1