Mercurial > cpython-lru_cache-weakref
view Mac/PythonLauncher/PreferencesWindowController.h @ 84478:5d41ebc79738 2.7
Issue #18377: Code cleanup in Python Launcher
This changeset fixes a number of compiler warnings in the Python Launcher
binary for OSX. It also cleans up whitespace usage in those sources.
| author | Ronald Oussoren <ronaldoussoren@mac.com> |
|---|---|
| date | Sun, 07 Jul 2013 09:49:23 +0200 |
| parents | 1cb2ece4b9e1 |
| children |
line wrap: on
line source
/* PreferencesWindowController */ #import <Cocoa/Cocoa.h> #import "FileSettings.h" @interface PreferencesWindowController : NSWindowController <FileSettingsSource> { IBOutlet NSPopUpButton *filetype; IBOutlet NSComboBox *interpreter; IBOutlet NSButton *honourhashbang; IBOutlet NSButton *debug; IBOutlet NSButton *verbose; IBOutlet NSButton *inspect; IBOutlet NSButton *optimize; IBOutlet NSButton *nosite; IBOutlet NSButton *tabs; IBOutlet NSTextField *others; IBOutlet NSButton *with_terminal; IBOutlet NSTextField *commandline; FileSettings *settings; } + getPreferencesWindow; - (IBAction)do_reset:(id)sender; - (IBAction)do_apply:(id)sender; - (IBAction)do_filetype:(id)sender; - (void)controlTextDidChange:(NSNotification *)aNotification; - (unsigned int)comboBox:(NSComboBox *)aComboBox indexOfItemWithStringValue:(NSString *)aString; - (id)comboBox:(NSComboBox *)aComboBox objectValueForItemAtIndex:(int)index; - (int)numberOfItemsInComboBox:(NSComboBox *)aComboBox; @end
