xref: /third_party/python/Mac/PythonLauncher/PreferencesWindowController.h (revision 7db96d56)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/python/Mac/PythonLauncher/
1/* PreferencesWindowController */
2
3#import <Cocoa/Cocoa.h>
4
5#import "FileSettings.h"
6
7@interface PreferencesWindowController : NSWindowController <FileSettingsSource>
8{
9    IBOutlet NSPopUpButton *filetype;
10    IBOutlet NSComboBox *interpreter;
11    IBOutlet NSButton *honourhashbang;
12    IBOutlet NSButton *debug;
13    IBOutlet NSButton *verbose;
14    IBOutlet NSButton *inspect;
15    IBOutlet NSButton *optimize;
16    IBOutlet NSButton *nosite;
17    IBOutlet NSButton *tabs;
18    IBOutlet NSTextField *others;
19    IBOutlet NSButton *with_terminal;
20    IBOutlet NSTextField *commandline;
21
22    FileSettings *settings;
23}
24
25+ getPreferencesWindow;
26
27- (IBAction)do_reset:(id)sender;
28- (IBAction)do_apply:(id)sender;
29- (IBAction)do_filetype:(id)sender;
30
31- (void)controlTextDidChange:(NSNotification *)aNotification;
32
33- (unsigned int)comboBox:(NSComboBox *)aComboBox indexOfItemWithStringValue:(NSString *)aString;
34- (id)comboBox:(NSComboBox *)aComboBox objectValueForItemAtIndex:(int)index;
35- (int)numberOfItemsInComboBox:(NSComboBox *)aComboBox;
36
37
38@end
39

Indexes created Thu Nov 07 10:32:03 CST 2024