Syntax
RadioButto *RadioButtoNew( int row, int col, const char *caption );
Arguments
row, col the screen row and left column of the button. NIL is invalid for either coordinate.
caption the UTF-8 text to copy, or NULL for an empty caption. & marks the following character as the accelerator.
Return value
The new RadioButto object, or NULL when row or col is NIL. Release it with RadioButtoFree().
Description
Include xdev-wtui-classes.h. The caption starts on the same row at `col + 4`, one space after the three-cell button. The button starts unselected and without input focus. The default style is `"(* )"`, and the default colors come from `SetColor()`.
Add buttons to a `RadioGroup` with `RadioGroupAddItem()` and let `RadioGroupSelect()` manage the group's selection and redraw the affected buttons. The group takes ownership when a button is added successfully. For a standalone button, call `RadioButtoDisplay()` to draw it and `RadioButtoSelect()` to change its state.
The terminal control draws characters in screen cells. The xBase bitmap property applies to graphical mode. The C methods for drawing, selecting and changing focus return a logical result so the caller can check the operation directly. The corresponding xBase methods return the object.