ftp.nice.ch/Attic/openStep/implementation/gnustep/sources/objcX-0.87.tgz#/objcX-0.87/examples/ButtonMatrix/Controller.m

This is Controller.m in view mode; [Download] [Up]

#import "Controller.h"

#import <appkit/Form.h>
#import <appkit/Matrix.h>
#import <appkit/ButtonCell.h>

@implementation Controller
- selection:sender
{
    [form setStringValue:[[sender selectedCell] title] at:0]; 
    [form setIntValue:[sender selectedRow] at:1]; 
    [form setIntValue:[[sender selectedCell] state] at:2]; 
    return self;
}


@end

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.