
/* Generated by Interface Builder */

#import "popup.h"
#include <appkit/appkit.h>

@implementation popup

- appDidInit:sender
{
	id	pul;

	pul = [PopUpList new];

	[pul addItem:"One"];
	[pul addItem:"Two"];
	[pul addItem:"Three"];
	[pul addItem:"Four"];
	[pul addItem:"Five"];
	[pul addItem:"Six"];

	NXAttachPopUpList(pulButton, pul);

	return self;
}

- setPulButton:anObject
{
	pulButton = anObject;

	return self;
}

- itsPushed:sender
{
	printf("'%s' was selected\n", [[sender selectedCell] title]);

	return self;
}

@end
