Instance Method

getPeriodicDelay:interval:

Returns by reference the delay and interval periods for a continuous button.

Declaration

- (void)getPeriodicDelay:(float *)delay interval:(float *)interval;

Parameters

delay

On return, the amount of time (in seconds) the button will pause before starting to periodically send action messages to the target object. The default delay is taken from a user's default (60 seconds maximum). If the user hasn’t specified a default value, delay defaults to 0.4 seconds,

interval

On return, the amount of time (in seconds) the button will pause between sending each action message. The default interval is taken from a user's default (60 seconds maximum). If the user hasn’t specified a default value, interval defaults to 0.075 seconds.

See Also

Configuring Buttons

- setButtonType:

Sets the button’s type, which affects its user interface and behavior when clicked.

- setPeriodicDelay:interval:

Sets the message delay and interval periods for a continuous button.

alternateTitle

The title that the button displays when the button is in an on state.

attributedTitle

The title that the button displays in an off state, as an attributed string.

attributedAlternateTitle

The title that the button displays as an attributed string when the button is in an on state.

title

The title displayed on the button when it’s in an off state.

- setTitleWithMnemonic:

Sets the title of a button with a character denoting an access key.

Deprecated
sound

The sound that plays when the user clicks the button.

springLoaded

A Boolean value that indicates whether spring loading is enabled for the button.

maxAcceleratorLevel

An integer value indicating the maximum pressure level for a button of type NSMultiLevelAcceleratorButton.