RadioGroup

RadioGroupSetFBlock

Set the callback for radio group focus changes

Syntax

Signature
xBool           RadioGroupSetFBlock( RadioGroup *radioGroup, RadioGroupBlock fBlock );

Arguments

radioGroup the radio group.

fBlock a C function that receives the group 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 `RadioGroup *` so it can read the group's new focus state with `RadioGroupGetHasFocus()` and retrieve application data with `RadioGroupGetCargo()`. The xBase block takes no implicit arguments.

See also