class Vips::GObject
- Vips::GObject
- Reference
- Object
Direct Known Subclasses
Defined in:
vips/gobject.crInstance Method Summary
- #get(name : String, gval : GValue)
-
#object_ref
Increases the reference count of object
-
#ref_count
Get the reference count of object.
-
#release_handle
Decreases the reference count of object.
- #set(name : String, gval : GValue)
-
#signal_connect(signal : String, callback : Proc, data : Pointer(Void) = Pointer(Void).null) : LibVips::Gulong
Connects a
callback
to a signal on this object. -
#signal_disconnect(handler_id : LibVips::Gulong)
Disconnects a handler from this object
-
#signal_disconnect(func : Proc, data : Pointer(Void) = Pointer(Void).null)
Disconnects all handlers from this object that match
func
anddata
-
#signal_disconnect(data : LibVips::Gpointer)
Disconnects all handlers from this object that match
Instance Method Detail
def release_handle
#
Decreases the reference count of object. When its reference count drops to 0, its memory is freed.
def signal_connect(signal : String, callback : Proc, data : Pointer(Void) = Pointer(Void).null) : LibVips::Gulong
#
Connects a callback
to a signal on this object.
The callback will be triggered every time this signal is issued on this instance.
Disconnects all handlers from this object that match func
and data
def signal_disconnect(data : LibVips::Gpointer)
#
Disconnects all handlers from this object that match