libs-gui/Model/Controller.m
Ovidiu Predescu 93f1e589e5 Commented out the archiving of NSPopUpButton since it crashes the translator; probably it interferes with NeXT's NIB handling.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2700 72102866-910b-0410-8b05-ffd578937521
1998-01-16 00:57:21 +00:00

18 lines
273 B
Objective-C

#import "Controller.h"
@implementation Controller
- (void)buttonPressed:(id)sender
{
NSString* text
= [NSString stringWithFormat:@"\"%@\" button pressed", [sender title]];
[textField setStringValue:text];
}
- (id)window
{
return [textField window];
}
@end