RadioButto

RadioButtoSetCaption

Set the caption of the radio button

Syntax

Signature
xBool           RadioButtoSetCaption( RadioButto *radioButto, const char *caption );

Arguments

radioButto the radio button.

caption the UTF-8 text to copy, or NULL for an empty string. & marks the following character as the accelerator.

Return value

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

Description

The button copies the text and keeps its caption coordinates. `RadioButtoIsAccel()` uses the new caption immediately. Call `RadioButtoDisplay()` to draw the new text.

See also