RadioSet-class: RadioSet widget

RadioSetR Documentation

RadioSet widget

Description

A group of radio buttons. See radio_set().

Super classes

Widget -> Vertical -> RadioSet

Active bindings

value

The selected value (NULL if none); assign to select.

Methods

Public methods

Inherited methods

RadioSet$new()

Create a radio set. See radio_set().

Usage
RadioSet$new(
  ...,
  selected = NULL,
  id = NULL,
  classes = NULL,
  style = NULL,
  disabled = FALSE
)
Arguments
...

Radio buttons.

selected

Value to select initially.

id, classes, style, disabled

See Widget.


RadioSet$default_style()

The built-in style.

Usage
RadioSet$default_style()

RadioSet$default_bindings()

Up/Down move to the previous / next option and select it.

Usage
RadioSet$default_bindings()

RadioSet$select()

Select an option (sends "radio_set.changed").

Usage
RadioSet$select(button)
Arguments
button

A child radio button.


RadioSet$action_next_option()

Move to the next option.

Usage
RadioSet$action_next_option()

RadioSet$action_previous_option()

Move to the previous option.

Usage
RadioSet$action_previous_option()

RadioSet$clone()

The objects of this class are cloneable with this method.

Usage
RadioSet$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


termr documentation built on Oct. 21, 2026, 5:13 p.m.