Class: GPhoto2::RadioCameraWidget
- Inherits:
-
CameraWidget
- Object
- CameraWidget
- GPhoto2::RadioCameraWidget
- Defined in:
- lib/gphoto2/camera_widgets/radio_camera_widget.rb
Direct Known Subclasses
Constant Summary
Constants included from FFI::GPhoto2
FFI::GPhoto2::CameraCaptureType, FFI::GPhoto2::CameraDriverStatus, FFI::GPhoto2::CameraEventType, FFI::GPhoto2::CameraFileAccessType, FFI::GPhoto2::CameraFileInfoFields, FFI::GPhoto2::CameraFileOperation, FFI::GPhoto2::CameraFilePermissions, FFI::GPhoto2::CameraFileStatus, FFI::GPhoto2::CameraFileType, FFI::GPhoto2::CameraFolderOperation, FFI::GPhoto2::CameraOperation, FFI::GPhoto2::CameraWidgetType, FFI::GPhoto2::GphotoDeviceType
Instance Attribute Summary
Attributes included from Struct
Instance Method Summary collapse
Methods inherited from CameraWidget
#children, factory, #finalize, #flatten, #initialize, #label, #name, #to_s, #type, #value, #value=
Methods included from Struct
Constructor Details
This class inherits a constructor from GPhoto2::CameraWidget
Instance Method Details
#choices ⇒ Array<String>
4 5 6 |
# File 'lib/gphoto2/camera_widgets/radio_camera_widget.rb', line 4 def choices count_choices.times.map { |i| get_choice(i) } end |