Skip to contents

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

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.