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) #

[View source]
def self.new(data : LibGObject::CClosure, transfer : GICrystal::Transfer) #

[View source]
def self.new(closure : GObject::Closure | Nil = nil) #

[View source]

Instance Method Detail

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

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


[View source]
def callback : Pointer(Void) | Nil #

[View source]
def callback! #

[View source]
def closure : GObject::Closure #

[View source]
def closure=(value : GObject::Closure) #

[View source]
def to_unsafe #

[View source]