class GPhoto2::Context

Included Modules

Defined in:

gphoto2/context.cr
gphoto2/context/callbacks.cr
gphoto2/context/error.cr

Constructors

Instance Method Summary

Instance methods inherited from module GPhoto2::Context::Callbacks

cancel_callback : Proc(Bool) cancel_callback, cancel_callback=(callback : Proc(Bool) | Nil) : Nil cancel_callback=, cancel_callback? : Proc(Bool) | Nil cancel_callback?, check!(rc : Int32) : Int32 check!, clear_callbacks : Nil clear_callbacks, error_callback : Proc(String, Void) error_callback, error_callback=(callback : Proc(String, Void) | Nil) : Nil error_callback=, error_callback? : Proc(String, Void) | Nil error_callback?, idle_callback : Proc(Void) idle_callback, idle_callback=(callback : Proc(Void) | Nil) : Nil idle_callback=, idle_callback? : Proc(Void) | Nil idle_callback?, last_error : String | Nil last_error, message_callback : Proc(String, Void) message_callback, message_callback=(callback : Proc(String, Void) | Nil) : Nil message_callback=, message_callback? : Proc(String, Void) | Nil message_callback?, status_callback : Proc(String, Void) status_callback, status_callback=(callback : Proc(String, Void) | Nil) : Nil status_callback=, status_callback? : Proc(String, Void) | Nil status_callback?

Constructor methods inherited from module GPhoto2::Context::Callbacks

new new

Macros inherited from module GPhoto2::Context::Callbacks

set_callback(key, callback_type, args, &block) set_callback

Instance methods inherited from module GPhoto2::Struct(LibGPhoto2::GPContext)

ptr : Pointer(T) ptr, ptr? : Pointer(T) | Nil ptr?, to_unsafe : Pointer(T) to_unsafe, wrapped : T wrapped

Constructor methods inherited from module GPhoto2::Struct(LibGPhoto2::GPContext)

new(ptr : Pointer(T) | Nil = nil) new

Constructor Detail

def self.new #

NOTE allocates memory.


[View source]

Instance Method Detail

def close : Nil #

[View source]