class GObject::CClosure

Overview

A #GCClosure is a specialization of #GClosure for C function callbacks.

Defined in:

lib/gi-crystal/src/auto/g_object-2.0/c_closure.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pointer : Pointer(Void), transfer : GICrystal::Transfer) #

def self.new(closure : GObject::Closure? = nil, callback : Pointer(Void)? = nil) #

Instance Method Detail

def ==(other : self) : Bool #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def callback : Pointer(Void)? #

def callback! #

def callback=(value : Pointer(Void)?) #

def closure : GObject::Closure #

def closure=(value : GObject::Closure) #

def to_unsafe #