Setting a class' action
Setting a class' action
- Subject: Setting a class' action
- From: Andrew Merenbach <email@hidden>
- Date: Wed, 14 Aug 2002 17:28:33 -0700
I would like every one of about 109 different buttons in a periodic
table of the elements to call the same action. Each button uses a
custom subclass of NSButton, in a different color. I can assign the
actions to all the buttons manually, but since there are several
differently-colored periodic tables in my program, this could take
hours. Is there a way to set an action of all buttons of a particular
class in the class definition file?
Take care,
Andrew Merenbach
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.