Staging
v0.5.1
https://github.com/python/cpython
Revision 87ea780e8ef029dd877dda18f5d0bc8983766848 authored by Richard Oudkerk on 29 May 2012, 11:01:47 UTC, committed by Richard Oudkerk on 29 May 2012, 11:01:47 UTC
Previously a Python 2.x compatible hack was used for
multiprocessing.sharedctypes.Array().  Also the documented
signature was wrong.
1 parent 1074a92
Raw File
Tip revision: 87ea780e8ef029dd877dda18f5d0bc8983766848 authored by Richard Oudkerk on 29 May 2012, 11:01:47 UTC
Use Python 3.x-style keyword only arg in Array()
Tip revision: 87ea780
PreferencesWindowController.h
/* 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
back to top