abstract class GPhoto2::CameraWidget

Overview

Represents a widget.

Defined in:

gphoto2/camera_widget.cr
gphoto2/camera_widgets/base.cr
gphoto2/camera_widgets/button.cr
gphoto2/camera_widgets/date.cr
gphoto2/camera_widgets/menu.cr
gphoto2/camera_widgets/radio.cr
gphoto2/camera_widgets/range.cr
gphoto2/camera_widgets/section.cr
gphoto2/camera_widgets/text.cr
gphoto2/camera_widgets/toggle.cr
gphoto2/camera_widgets/window.cr

Class Method Summary

Class Method Detail

def self.factory(ptr : Pointer(LibGPhoto2::CameraWidget), parent : Base | Nil = nil) : Base #

Creates a new widget from the given pointer.


[View source]
def self.widgets : Hash(String, Base.class) #

Returns the list of all available widgets.


[View source]