class Vips::GObject

Direct Known Subclasses

Defined in:

vips/gobject.cr

Instance Method Summary

Instance Method Detail

def finalize #

[View source]
def get(name : String, gval : GValue) #

[View source]
def object_ref #

Increases the reference count of object


[View source]
def ref_count #

Get the reference count of object.


[View source]
def release_handle #

Decreases the reference count of object. When its reference count drops to 0, its memory is freed.


[View source]
def set(name : String, gval : GValue) #

[View source]
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.


[View source]
def signal_disconnect(handler_id : LibVips::Gulong) #

Disconnects a handler from this object


[View source]
def signal_disconnect(func : Proc, data : Pointer(Void) = Pointer(Void).null) #

Disconnects all handlers from this object that match func and data


[View source]
def signal_disconnect(data : LibVips::Gpointer) #

Disconnects all handlers from this object that match


[View source]