RadioGroup

RadioGroupAddItem

Append a radio button to the group

Syntax

Signature
xBool           RadioGroupAddItem( RadioGroup *radioGroup, RadioButto *radioButto );

Arguments

radioGroup the radio group.

radioButto the button to append. NULL is invalid.

Return value

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

Description

On success the group takes ownership of the button. The caller retains ownership on failure. Create an unselected button with `RadioButtoNew()` and use `RadioGroupSelect()` to select it in the group.

See also