class

GPhoto2::CameraWidget::Radio

Inherits GPhoto2::CameraWidget::Text / GPhoto2::CameraWidget::Base / GPhoto2::Struct / Reference / Object

Instance methods

<<(step : Int32) : String | Nil

Moves the cursor to the previous choice.

Source
>>(step : Int32) : String | Nil

Moves the cursor to the next choice.

Source
choices

Returns valid choices for a configuration widget.

camera[:whitebalance].as_radio.choices
# =&gt; [&quot;Automatic&quot;, &quot;Daylight&quot;, &quot;Fluorescent&quot;, &quot;Tungsten&quot;, ...]
Source
move_by(step : Int32) : String | Nil

Moves the cursor by the given step.

Source