PushButton

PushButtonGetSBlock

Return the callback run when the button is activated

Syntax

Signature
PushButtonBlock PushButtonGetSBlock( const PushButton *pushButton );

Return value

The stored PushButtonBlock, or NULL if no action callback is set or the object is NULL.

Description

The callback receives the button while `PushButtonGetBuffer()` returns `T`.

See also