GTSpotter looks like a nice way to build end-user applications too.
An address book is a simple example of that, with parties and addresses

Clear the address book

ABAddressbookModel  reset.

Add someone

ABAddressbookModel default addFirst: 'Stephan' last:'Eggermont'.

Add a telephone number to someone

ABAddressbookModel default parties first addTelephone: '+31-6-55555555'.

Open a spotter on the address book

GTSpotterMorph new
                width: 400;
                doLayout;
                spotterModel: (GTSpotter on: ABAddressbookModel default);
                openCenteredInWorld


How do I add actions to add a person/address, edit it, or remove it?
I can see how I can add one action, can I add multiple?

Stephan

Attachment: Addressbook.st
Description: Binary data

Reply via email to