NSMatrix actions
NSMatrix actions
- Subject: NSMatrix actions
- From: Robert Goldsmith <email@hidden>
- Date: Thu, 11 Oct 2001 01:22:34 +0100
Hi all :)
I think I'm missing something simple here but these are my thoughts
and my problem:
When the user clicks on a cell in an NSMatrix, the docs say it sends
an action to a receiver. It also seems to say that is the NSCell
subclass it is using as it's cell has the action, the cell is sent
the action, otherwise the delegate of NSMatrix gets it.
However, I seem to be missing two things:
1) What actions are defined? Where are they listed? If I want my
NSCell subclass to respond to the action NSMatrix sends when a mouse
click occurs, I figure it will be looking for a specific action
definition.
2) If there are no defined standard actions, how do I tell NSMatrix
'look for this action when the user clicks a cell' ?
As a side question, is there a way to do this in IB (remembering that
the NSMatrix holds a custom NSCell subclass so is simply a 'custom
view' in IB)?
Thanks
Robert
--
Please note the new email address:
email@hidden