RadioButto

RadioButtoSetFBlock

Set the callback for input focus changes

Syntax

Signature
xBool           RadioButtoSetFBlock( RadioButto *radioButto, RadioButtoBlock fBlock );

Arguments

radioButto the radio button.

fBlock a C function that receives the button when it gains or loses focus, or NULL to clear the callback.

Return value

T on success, or F if the object is NULL.

Description

The callback receives a `RadioButto *` so it can read the control's new focus state with `RadioButtoGetHasFocus()` and retrieve application data with `RadioButtoGetCargo()`. The xBase block takes no implicit arguments.

See also