Instance Property

action

The default action-message selector associated with the control.

Declaration

@property SEL action;

Discussion

This property contains the action message selector of the receiver's cell. Controls that support multiple cells (such as NSMatrix and NSForm) must supply the appropriate action-message selector in this property. Specify NULL to prevent action messages from being sent to the receiver's target.

If you want the action-message selector for a control that has multiple cells, it is better to get the selector directly from the cell's own action property.

See Also

Implementing the Target/Action Mechanism

target

The target object that receives action messages from the cell.

continuous

A Boolean value indicating whether the receiver’s cell sends its action message continuously to its target during mouse tracking.

- sendAction:to:

Causes the specified action to be sent the target.

- sendActionOn:

Sets the conditions on which the receiver sends action messages to its target.