-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMLPreferenceViewController.h
More file actions
41 lines (30 loc) · 1.07 KB
/
MLPreferenceViewController.h
File metadata and controls
41 lines (30 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#import <Cocoa/Cocoa.h>
/// This is an individual pane of a MLPreferencePanelController Preferences panel.
@interface MLPreferenceViewController : NSObject {
IBOutlet NSView *view;
NSString *title;
NSString *ident;
NSImage *image;
NSWindow *preferencesPanelWindow;
}
// Retrieve the view that was loaded from the nib.
- (NSView *)view;
// The localized title of this preferences view.
- (NSString *)title;
- (void)setTitle:(NSString *)newTitle;
// The identifier is a unique, non-localized string that is used to identify this particular preferences panel.
- (NSString *)identifier;
- (void)setIdentifier:(NSString *)newIdentifier;
// Load a nib.
- (BOOL)loadViewNibNamed:(NSString *)nibName;
// The image that appears on the toolbar.
- (void)setImage:(NSImage *)anImage;
- (NSImage *)image;
// Specifies the NSWindow of the Preferences panel.
- (void)setPreferencesPanelWindow:(NSWindow *)window;
- (NSWindow *)preferencesPanelWindow;
// Called when this is made the active preference view.
- (void)activated;
// Return YES if the view should be resizable.
- (BOOL)isResizable;
@end