Mercurial > cpython-lru_cache-weakref
annotate Mac/PythonLauncher/PreferencesWindowController.h @ 80661:94de77bd0b4b 2.7
Issue #16194: document imp.load_dynamic problems
when read several extension modules from the same binary object file.
| author | Andrew Svetlov <andrew.svetlov@gmail.com> |
|---|---|
| date | Thu, 29 Nov 2012 19:51:28 +0200 |
| parents | 1cb2ece4b9e1 |
| children |
| rev | line source |
|---|---|
|
24426
9afac0dd6b6e
First stab at the launcher application. This will be run when the user
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
1 /* PreferencesWindowController */ |
|
9afac0dd6b6e
First stab at the launcher application. This will be run when the user
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
2 |
|
9afac0dd6b6e
First stab at the launcher application. This will be run when the user
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
3 #import <Cocoa/Cocoa.h> |
|
9afac0dd6b6e
First stab at the launcher application. This will be run when the user
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
4 |
|
9afac0dd6b6e
First stab at the launcher application. This will be run when the user
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
5 #import "FileSettings.h" |
|
9afac0dd6b6e
First stab at the launcher application. This will be run when the user
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
6 |
|
9afac0dd6b6e
First stab at the launcher application. This will be run when the user
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
7 @interface PreferencesWindowController : NSWindowController <FileSettingsSource> |
|
9afac0dd6b6e
First stab at the launcher application. This will be run when the user
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
8 { |
|
9afac0dd6b6e
First stab at the launcher application. This will be run when the user
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
9 IBOutlet NSPopUpButton *filetype; |
|
32714
17406543f15b
The interpreter popup was never filled with any data, fixed.
Jack Jansen <jack.jansen@cwi.nl>
parents:
27913
diff
changeset
|
10 IBOutlet NSComboBox *interpreter; |
|
27913
cdb1abc1b409
Optionally honour #! paths in scripts. Fixes #676358.
Jack Jansen <jack.jansen@cwi.nl>
parents:
26806
diff
changeset
|
11 IBOutlet NSButton *honourhashbang; |
|
24426
9afac0dd6b6e
First stab at the launcher application. This will be run when the user
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
12 IBOutlet NSButton *debug; |
|
9afac0dd6b6e
First stab at the launcher application. This will be run when the user
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
13 IBOutlet NSButton *verbose; |
|
9afac0dd6b6e
First stab at the launcher application. This will be run when the user
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
14 IBOutlet NSButton *inspect; |
|
9afac0dd6b6e
First stab at the launcher application. This will be run when the user
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
15 IBOutlet NSButton *optimize; |
|
9afac0dd6b6e
First stab at the launcher application. This will be run when the user
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
16 IBOutlet NSButton *nosite; |
|
9afac0dd6b6e
First stab at the launcher application. This will be run when the user
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
17 IBOutlet NSButton *tabs; |
|
9afac0dd6b6e
First stab at the launcher application. This will be run when the user
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
18 IBOutlet NSTextField *others; |
|
9afac0dd6b6e
First stab at the launcher application. This will be run when the user
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
19 IBOutlet NSButton *with_terminal; |
|
9afac0dd6b6e
First stab at the launcher application. This will be run when the user
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
20 IBOutlet NSTextField *commandline; |
|
9afac0dd6b6e
First stab at the launcher application. This will be run when the user
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
21 |
|
9afac0dd6b6e
First stab at the launcher application. This will be run when the user
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
22 FileSettings *settings; |
|
9afac0dd6b6e
First stab at the launcher application. This will be run when the user
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
23 } |
|
9afac0dd6b6e
First stab at the launcher application. This will be run when the user
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
24 |
|
9afac0dd6b6e
First stab at the launcher application. This will be run when the user
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
25 + getPreferencesWindow; |
|
9afac0dd6b6e
First stab at the launcher application. This will be run when the user
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
26 |
|
9afac0dd6b6e
First stab at the launcher application. This will be run when the user
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
27 - (IBAction)do_reset:(id)sender; |
|
9afac0dd6b6e
First stab at the launcher application. This will be run when the user
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
28 - (IBAction)do_apply:(id)sender; |
|
9afac0dd6b6e
First stab at the launcher application. This will be run when the user
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
29 - (IBAction)do_filetype:(id)sender; |
|
9afac0dd6b6e
First stab at the launcher application. This will be run when the user
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
30 |
|
9afac0dd6b6e
First stab at the launcher application. This will be run when the user
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
31 - (void)controlTextDidChange:(NSNotification *)aNotification; |
|
9afac0dd6b6e
First stab at the launcher application. This will be run when the user
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
32 |
|
26806
b204b4a72b4e
Changed the input field for the interpreter to use (in the preferences
Jack Jansen <jack.jansen@cwi.nl>
parents:
24426
diff
changeset
|
33 - (unsigned int)comboBox:(NSComboBox *)aComboBox indexOfItemWithStringValue:(NSString *)aString; |
|
b204b4a72b4e
Changed the input field for the interpreter to use (in the preferences
Jack Jansen <jack.jansen@cwi.nl>
parents:
24426
diff
changeset
|
34 - (id)comboBox:(NSComboBox *)aComboBox objectValueForItemAtIndex:(int)index; |
|
b204b4a72b4e
Changed the input field for the interpreter to use (in the preferences
Jack Jansen <jack.jansen@cwi.nl>
parents:
24426
diff
changeset
|
35 - (int)numberOfItemsInComboBox:(NSComboBox *)aComboBox; |
|
b204b4a72b4e
Changed the input field for the interpreter to use (in the preferences
Jack Jansen <jack.jansen@cwi.nl>
parents:
24426
diff
changeset
|
36 |
|
b204b4a72b4e
Changed the input field for the interpreter to use (in the preferences
Jack Jansen <jack.jansen@cwi.nl>
parents:
24426
diff
changeset
|
37 |
|
24426
9afac0dd6b6e
First stab at the launcher application. This will be run when the user
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
38 @end |
