Lynkeos
|
Custom alert panel. More...
#import <MyCustomAlert.h>
Instance Methods | |
(IBAction) | - confirmAction: |
Called when the OK button is pressed. More... | |
Class Methods | |
(void) | + runAlert:withText: |
Display the alert panel, and run modal until dialog end. More... | |
Protected Attributes | |
IBOutlet NSPanel * | _panel |
The panel itself. | |
IBOutlet NSTextView * | _text |
Text displayed in the alert panel. | |
IBOutlet NSButton * | _okButton |
The OK (and only) button. | |
Custom alert panel.
- (IBAction) confirmAction: | (id) | sender |
Called when the OK button is pressed.
sender | The button which called this action |
References _panel.
+ (void) runAlert: | (NSString*) | title | |
withText: | (NSString*) | text | |
Display the alert panel, and run modal until dialog end.
title | Alert window title |
text | Text to display in the alert panel |