class GPhoto2::Context
Included Modules
Defined in:
gphoto2/context.cr
gphoto2/context/callbacks.cr
gphoto2/context/error.cr
Constructors
Instance Method Summary
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?
new
new
set_callback(key, callback_type, args, &block)
set_callback
ptr : Pointer(T)
ptr,
ptr? : Pointer(T) | Nil
ptr?,
to_unsafe : Pointer(T)
to_unsafe,
wrapped : T
wrapped
new(ptr : Pointer(T) | Nil = nil)
new
Constructor Detail
Instance Method Detail